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