rename docs subpackage as help subpackage
This commit is contained in:
parent
724ef43798
commit
979c0c6927
18
chrony.spec
18
chrony.spec
@ -2,7 +2,7 @@
|
||||
|
||||
Name: chrony
|
||||
Version: 3.4
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: An NTP client/server
|
||||
License: GPLv2
|
||||
URL: https://chrony.tuxfamily.org
|
||||
@ -28,12 +28,7 @@ It can synchronise the system clock with NTP servers, reference clocks
|
||||
also operate as an NTPv4 (RFC 5905) server and peer to provide a time
|
||||
service to other computers in the network.
|
||||
|
||||
|
||||
%package docs
|
||||
Summary: Documentation files for chrony
|
||||
|
||||
%description docs
|
||||
The chrony-docs package contains documentation files.
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
@ -41,7 +36,6 @@ The chrony-docs package contains documentation files.
|
||||
%setup -q -n %{name}-%{version} -a 6
|
||||
mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim
|
||||
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-debug --enable-ntp-signd --enable-scfilter --docdir=%{_docdir} \
|
||||
@ -111,6 +105,7 @@ fi
|
||||
%systemd_postun_with_restart chronyd.service
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license COPYING
|
||||
|
||||
%config(noreplace) %{_sysconfdir}/chrony.conf
|
||||
@ -133,11 +128,14 @@ fi
|
||||
%dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
|
||||
|
||||
|
||||
%files docs
|
||||
%files help
|
||||
%defattr(644,root,root)
|
||||
%doc FAQ NEWS README
|
||||
%{_mandir}/man[158]/%{name}*.[158]*
|
||||
|
||||
%changelog
|
||||
* Sat Sep 14 2019 hufeng <solar.hu@huawei.com> - 3.4.2
|
||||
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.4-3
|
||||
- rename docs subpackage as help subpackage
|
||||
|
||||
* Sat Sep 14 2019 hufeng <solar.hu@huawei.com> - 3.4-2
|
||||
-Create chrony spec
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user