add ntpstat-help dependency for ntpstat

This commit is contained in:
haochenstar 2020-11-09 16:27:48 +08:00
parent 6ab6331c9f
commit a5ca4aa016

View File

@ -1,6 +1,6 @@
Name: ntpstat
Version: 0.6
Release: 1
Release: 2
Summary: Print NTP synchronisation status
License: MIT
URL: https://github.com/mlichvar/ntpstat
@ -8,7 +8,7 @@ Source0: https://github.com/mlichvar/ntpstat/archive/%{version}/%{name}-%{
BuildArch: noarch
BuildRequires: git
Requires: (ntp or chrony)
Requires: (ntp or chrony) %{name}-help
%description
ntpstat is a shell script which prints the ntpd or chronyd synchronisation
@ -44,6 +44,12 @@ install -p -m644 ./ntpstat.1 $RPM_BUILD_ROOT%{_mandir}/man1
%{_mandir}/man1/ntpstat.*
%changelog
* Mon Nov 09 2020 xihaochen<xihaochen@huawei.com> - 0.6-2
- Type:requirement
- CVE:NA
- SUG:NA
- DESC:add ntpstat-help dependency for ntpstat
* Fri Aug 21 2020 yuboyun<yuboyun@huawei.com> - 0.6-1
- Type:bugfix
- ID:NA