Accepting request 53234 from home:lnussel:fscaps

OBS-URL: https://build.opensuse.org/request/show/53234
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=73
This commit is contained in:
Cristian Rodríguez 2010-11-18 12:53:52 +00:00 committed by Git OBS Bridge
parent 42658f6e7a
commit 254557809c
2 changed files with 13 additions and 1 deletions

View File

@ -80,6 +80,7 @@
%is_plus %(if test -f /.buildenv ; then source /.buildenv ; if [[ "$BUILD_BASENAME" == *+kde ]] ; then echo 1 ; else echo 0 ; fi ; else echo 0 ; fi)
# deprecated, use %set_permissions instead
%run_permissions() \
if test "$YAST_IS_RUNNING" != "instsys" ; then \
if test -x /sbin/SuSEconfig -a -f /sbin/conf.d/SuSEconfig.permissions ; then \
@ -118,9 +119,14 @@
fi \
%nil
%set_permissions(f:) \
if [ -x /usr/bin/chkstat ]; then \
/usr/bin/chkstat -n --set --system %{**} \
fi \
%nil
%verify_permissions(e:f:) \
/usr/bin/chkstat -n --system %{**} 1>&2 \
/usr/bin/chkstat -n --warn --system %{**} 1>&2 \
%nil
# %{suse_update_config [-fcl] [dirs...]}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 16 15:25:45 UTC 2010 - lnussel@suse.de
- fix %verify_permissions to actually only warn
- introduce %set_permissions to replace %run_permissions in the future
-------------------------------------------------------------------
Tue Nov 9 15:07:52 UTC 2010 - lnussel@suse.de