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
This commit is contained in:
Michael Vetter 2016-01-18 11:08:55 +00:00 committed by Git OBS Bridge
parent bac7fc27fa
commit 5d813f9f9f
2 changed files with 10 additions and 3 deletions

View File

@ -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 Wed Jul 15 13:25:11 UTC 2015 - jkeil@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package shadow # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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/newgrp
%set_permissions /usr/bin/passwd %set_permissions /usr/bin/passwd
%service_add_post shadow.service shadow.timer
%verifyscript %verifyscript
%verify_permissions /usr/bin/chage %verify_permissions /usr/bin/chage
%verify_permissions /usr/bin/chfn %verify_permissions /usr/bin/chfn
@ -191,8 +193,6 @@ rm -rf $RPM_BUILD_ROOT
%verify_permissions /usr/bin/newgrp %verify_permissions /usr/bin/newgrp
%verify_permissions /usr/bin/passwd %verify_permissions /usr/bin/passwd
%service_add_post shadow.service shadow.timer
%preun %preun
%service_del_preun shadow.service shadow.timer %service_del_preun shadow.service shadow.timer