From 979c0c6927592e4fcaa84ec54302ac79d3bbd158 Mon Sep 17 00:00:00 2001 From: hexiujun Date: Thu, 26 Dec 2019 14:02:21 +0800 Subject: [PATCH] rename docs subpackage as help subpackage --- chrony.spec | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/chrony.spec b/chrony.spec index eeff9cb..964ab2a 100644 --- a/chrony.spec +++ b/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 - 3.4.2 +* Tue Dec 24 2019 openEuler Buildteam - 3.4-3 +- rename docs subpackage as help subpackage + +* Sat Sep 14 2019 hufeng - 3.4-2 -Create chrony spec