Accepting request 587008 from network:time

OBS-URL: https://build.opensuse.org/request/show/587008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chrony?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2018-03-19 22:31:45 +00:00 committed by Git OBS Bridge
commit 58e6b5db4c
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 14 15:11:56 CET 2018 - kukuk@suse.de
- Fix name of fillup template (was never installed before)
- Fix Requires for fillup, it's used in post, not pre.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 9 10:21:09 UTC 2018 - mpluskal@suse.com Fri Feb 9 10:21:09 UTC 2018 - mpluskal@suse.com

View File

@ -26,7 +26,7 @@ Name: chrony
Version: 3.2 Version: 3.2
Release: 0 Release: 0
Summary: System Clock Synchronization Client and Server Summary: System Clock Synchronization Client and Server
License: GPL-2.0 License: GPL-2.0-only
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
URL: http://chrony.tuxfamily.org/ URL: http://chrony.tuxfamily.org/
Source: http://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz Source: http://download.tuxfamily.org/chrony/chrony-%{version}.tar.gz
@ -56,7 +56,7 @@ BuildRequires: pps-tools-devel
BuildRequires: timezone BuildRequires: timezone
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
Requires: logrotate Requires: logrotate
Requires(pre): %fillup_prereq Requires(post): %fillup_prereq
Requires(pre): %{_sbindir}/groupadd Requires(pre): %{_sbindir}/groupadd
Requires(pre): %{_sbindir}/useradd Requires(pre): %{_sbindir}/useradd
Provides: ntp-daemon Provides: ntp-daemon
@ -157,7 +157,7 @@ echo 'chronyd.service' > \
%{buildroot}%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/50-chronyd.list
install -Dpm 0644 %{SOURCE2} \ install -Dpm 0644 %{SOURCE2} \
%{buildroot}%{_fillupdir}/sysconfig.chronyd %{buildroot}%{_fillupdir}/sysconfig.chrony
install -Dpm 755 %{SOURCE4} \ install -Dpm 755 %{SOURCE4} \
%{buildroot}%{_datadir}/chrony-helper %{buildroot}%{_datadir}/chrony-helper
@ -205,7 +205,7 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d "%{_localstatedir}/
%{_unitdir}/chrony*.service %{_unitdir}/chrony*.service
%{_unitdir}/chrony*.timer %{_unitdir}/chrony*.timer
%{_sbindir}/rcchrony* %{_sbindir}/rcchrony*
%{_fillupdir}/sysconfig.chronyd %{_fillupdir}/sysconfig.chrony
%dir %attr(750,chrony,chrony) %{_localstatedir}/lib/chrony %dir %attr(750,chrony,chrony) %{_localstatedir}/lib/chrony
%ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/drift %ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/drift
%ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/rtc %ghost %attr(640,chrony,chrony) %{_localstatedir}/lib/chrony/rtc