From 5d813f9f9f5e6fb0e15137656063d57b3c9da56e904ad764cf235c856cf34b71 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 18 Jan 2016 11:08:55 +0000 Subject: [PATCH] Accepting request 353848 from home:favogt:branches:Base:System Moved call from %verifyscript into %post: * Caused call to %service_add_post shadow.service shadow.timer during rpm -qV shadow OBS-URL: https://build.opensuse.org/request/show/353848 OBS-URL: https://build.opensuse.org/package/show/Base:System/shadow?expand=0&rev=19 --- shadow.changes | 7 +++++++ shadow.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/shadow.changes b/shadow.changes index 410b0fe..ac59286 100644 --- a/shadow.changes +++ b/shadow.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 15 11:08:29 UTC 2016 - fvogt@suse.com + +- Moved call from %verifyscript into %post: + * Caused call to %service_add_post shadow.service shadow.timer + during rpm -qV shadow + ------------------------------------------------------------------- Wed Jul 15 13:25:11 UTC 2015 - jkeil@suse.de diff --git a/shadow.spec b/shadow.spec index 77330d5..a22e246 100644 --- a/shadow.spec +++ b/shadow.spec @@ -1,7 +1,7 @@ # # spec file for package shadow # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -182,6 +182,8 @@ rm -rf $RPM_BUILD_ROOT %set_permissions /usr/bin/newgrp %set_permissions /usr/bin/passwd +%service_add_post shadow.service shadow.timer + %verifyscript %verify_permissions /usr/bin/chage %verify_permissions /usr/bin/chfn @@ -191,8 +193,6 @@ rm -rf $RPM_BUILD_ROOT %verify_permissions /usr/bin/newgrp %verify_permissions /usr/bin/passwd -%service_add_post shadow.service shadow.timer - %preun %service_del_preun shadow.service shadow.timer