Accepting request 53332 from Base:System
Accepted submit request 53332 from user elvigia OBS-URL: https://build.opensuse.org/request/show/53332 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=109
This commit is contained in:
parent
3ffe93d6a9
commit
1bbb749072
2
brp.diff
2
brp.diff
@ -276,7 +276,7 @@ Index: scripts/Makefile.am
|
||||
check-files check-prereqs \
|
||||
check-buildroot check-rpaths check-rpaths-worker \
|
||||
find-debuginfo.sh find-lang.sh \
|
||||
@@ -23,8 +25,10 @@ EXTRA_DIST = \
|
||||
@@ -24,8 +26,10 @@ EXTRA_DIST = \
|
||||
|
||||
rpmconfig_SCRIPTS = \
|
||||
brp-compress brp-python-bytecompile brp-java-gcjcompile \
|
||||
|
@ -1,10 +1,5 @@
|
||||
%suse_check \
|
||||
%{?buildroot:RPM_BUILD_ROOT=\"%{buildroot}\"\
|
||||
export RPM_BUILD_ROOT}\
|
||||
test -x /usr/sbin/Check -a $UID = 0 -o -x /usr/sbin/Check -a ! -z "$RPM_BUILD_ROOT" && {\
|
||||
echo "I call /usr/sbin/Check..."\
|
||||
/usr/sbin/Check\
|
||||
}
|
||||
# need to keep this around for a while
|
||||
%suse_check %{nil}
|
||||
|
||||
# directories
|
||||
%_infodir %{_prefix}/share/info
|
||||
@ -23,8 +18,8 @@
|
||||
%suseconfig_fonts_prereq perl aaa_base
|
||||
%install_info_prereq info
|
||||
|
||||
# _suse_os_install_post is defined in brp-checks-suse
|
||||
%__os_install_post %{?_suse_os_install_post}%{!?_suse_os_install_post: \
|
||||
%{suse_check} \
|
||||
/usr/lib/rpm/brp-compress \
|
||||
/usr/lib/rpm/brp-symlink \
|
||||
%{nil}}
|
||||
@ -85,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 \
|
||||
@ -123,18 +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:) \
|
||||
if test -f /etc/sysconfig/security ; then \
|
||||
source /etc/sysconfig/security \
|
||||
fi \
|
||||
PERMFILES="/etc/permissions" \
|
||||
for PERMEXT in $PERMISSION_SECURITY ; do \
|
||||
if test -f /etc/permissions.$PERMEXT ; then \
|
||||
PERMFILES="$PERMFILES /etc/permissions.$PERMEXT" \
|
||||
fi \
|
||||
done \
|
||||
/usr/bin/chkstat -n %{**} $PERMFILES 1>&2 \
|
||||
/usr/bin/chkstat -n --warn --system %{**} 1>&2 \
|
||||
%nil
|
||||
|
||||
# %{suse_update_config [-fcl] [dirs...]}
|
||||
|
16
rpm.changes
16
rpm.changes
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- don't call /usr/bin/Check at all anymore. superfluous
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 9 13:04:21 UTC 2010 - lnussel@suse.de
|
||||
|
||||
- change %verify_permissions to use new system mode of chkstat
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 29 15:03:50 CEST 2010 - mls@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user