Accepting request 52720 from home:lnussel:fscaps

OBS-URL: https://build.opensuse.org/request/show/52720
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=72
This commit is contained in:
Philipp Thomas 2010-11-11 10:59:29 +00:00 committed by Git OBS Bridge
parent 0bb8834bee
commit 42658f6e7a
4 changed files with 16 additions and 19 deletions

View File

@ -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 \

View File

@ -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}}
@ -125,16 +120,7 @@
%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 --system %{**} 1>&2 \
%nil
# %{suse_update_config [-fcl] [dirs...]}

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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

View File

@ -300,6 +300,7 @@ fi
%postun
%{insserv_cleanup}
%verifyscript
%verify_permissions -f /usr/lib/rpm/permlist