From 9abd1e75906da9c729aefac8e1cabeeced9d7cf5b1d754dead02d3b015187124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20=C4=8C=C3=AD=C5=BEek?= Date: Tue, 22 Oct 2013 08:50:21 +0000 Subject: [PATCH] Accepting request 204252 from home:msmeissn:branches:Base:System - adding service hook was in %verifyscript section not in %post OBS-URL: https://build.opensuse.org/request/show/204252 OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=70 --- at.changes | 5 +++++ at.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/at.changes b/at.changes index 0dbe30b..5706f15 100644 --- a/at.changes +++ b/at.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 22 06:38:25 UTC 2013 - meissner@suse.com + +- adding service hook was in %verifyscript section not in %post + ------------------------------------------------------------------- Sun Oct 6 23:02:00 UTC 2013 - crrodriguez@opensuse.org diff --git a/at.spec b/at.spec index 4ab8ec2..e0c608f 100644 --- a/at.spec +++ b/at.spec @@ -150,12 +150,13 @@ rm -f etc/init.d/at fi %{fillup_and_insserv -n atd atd } %set_permissions /usr/bin/at -%verifyscript -%verify_permissions -e /usr/bin/at %if 0%{?has_systemd} %service_add_post atd.service %endif +%verifyscript +%verify_permissions -e /usr/bin/at + %postun %restart_on_update atd %insserv_cleanup