From 04d4e77785fceda4a2453655152f6e9d0791c524d0091be8b1581aeee037f7d5 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 8 Apr 2016 08:42:30 +0000 Subject: [PATCH] Accepting request 386163 from home:pluskalm:branches:network:time - Do reference to chrony-dnssrv@.service in %pre, %preun, %post, and %postun as it would lead to error. - Change conditions for libseccom, we can use any version on SLE-12 x86_64 OBS-URL: https://build.opensuse.org/request/show/386163 OBS-URL: https://build.opensuse.org/package/show/network:time/chrony?expand=0&rev=13 --- chrony.changes | 8 ++++++++ chrony.spec | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/chrony.changes b/chrony.changes index 4752c08..de0fb59 100644 --- a/chrony.changes +++ b/chrony.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Apr 8 08:38:00 UTC 2016 - mpluskal@suse.com + +- Do reference to chrony-dnssrv@.service in %pre, %preun, %post, + and %postun as it would lead to error. +- Change conditions for libseccom, we can use any version on SLE-12 + x86_64 + ------------------------------------------------------------------- Tue Apr 5 22:27:48 UTC 2016 - mpost@suse.com diff --git a/chrony.spec b/chrony.spec index 5b37b17..ca5783d 100644 --- a/chrony.spec +++ b/chrony.spec @@ -199,12 +199,12 @@ make check %{_sbindir}/useradd -g chrony -s /bin/false -r -c "Chrony Daemon" -d "%{_localstatedir}/lib/chrony" chrony >/dev/null 2>&1 || : # START BIG SYSTEMD %if %{with systemd} -%service_add_pre chronyd.service chrony-wait.service chrony-dnssrv@.service +%service_add_pre chronyd.service chrony-wait.service %endif %preun %if %{with systemd} -%service_del_preun chronyd.service chrony-wait.service chrony-dnssrv@.service +%service_del_preun chronyd.service chrony-wait.service %else %stop_on_removal chronyd %endif @@ -213,13 +213,13 @@ make check %fillup_only %{name} %install_info --info-dir="%{_infodir}" "%{_infodir}/chrony.info%{ext_info}" %if %{with systemd} -%service_add_post chronyd.service chrony-wait.service chrony-dnssrv@.service +%service_add_post chronyd.service chrony-wait.service %endif %postun %install_info_delete --info-dir="%{_infodir}" "%{_infodir}/chrony.info%{ext_info}" %if %{with systemd} -%service_del_postun chronyd.service chrony-wait.service chrony-dnssrv@.service +%service_del_postun chronyd.service chrony-wait.service %else %restart_on_update chronyd %insserv_cleanup