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
|
Name: chrony
|
||||||
Version: 3.4
|
Version: 3.4
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: An NTP client/server
|
Summary: An NTP client/server
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://chrony.tuxfamily.org
|
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
|
also operate as an NTPv4 (RFC 5905) server and peer to provide a time
|
||||||
service to other computers in the network.
|
service to other computers in the network.
|
||||||
|
|
||||||
|
%package_help
|
||||||
%package docs
|
|
||||||
Summary: Documentation files for chrony
|
|
||||||
|
|
||||||
%description docs
|
|
||||||
The chrony-docs package contains documentation files.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
@ -41,7 +36,6 @@ The chrony-docs package contains documentation files.
|
|||||||
%setup -q -n %{name}-%{version} -a 6
|
%setup -q -n %{name}-%{version} -a 6
|
||||||
mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim
|
mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--enable-debug --enable-ntp-signd --enable-scfilter --docdir=%{_docdir} \
|
--enable-debug --enable-ntp-signd --enable-scfilter --docdir=%{_docdir} \
|
||||||
@ -111,6 +105,7 @@ fi
|
|||||||
%systemd_postun_with_restart chronyd.service
|
%systemd_postun_with_restart chronyd.service
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
%config(noreplace) %{_sysconfdir}/chrony.conf
|
%config(noreplace) %{_sysconfdir}/chrony.conf
|
||||||
@ -133,11 +128,14 @@ fi
|
|||||||
%dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
|
%dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
|
||||||
|
|
||||||
|
|
||||||
%files docs
|
%files help
|
||||||
%defattr(644,root,root)
|
%defattr(644,root,root)
|
||||||
%doc FAQ NEWS README
|
%doc FAQ NEWS README
|
||||||
%{_mandir}/man[158]/%{name}*.[158]*
|
%{_mandir}/man[158]/%{name}*.[158]*
|
||||||
|
|
||||||
%changelog
|
%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
|
-Create chrony spec
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user