commit brp-check-suse for openSUSE:Factory
Hello community, here is the log from the commit of package brp-check-suse for openSUSE:Factory checked in at Thu Jan 8 17:57:34 CET 2009. -------- --- brp-check-suse/brp-check-suse.changes 2008-12-16 15:53:19.000000000 +0100 +++ /mounts/work_src_done/STABLE/brp-check-suse/brp-check-suse.changes 2009-01-07 10:58:28.000000000 +0100 @@ -1,0 +2,5 @@ +Wed Jan 7 10:57:53 CET 2009 - jblunck@suse.de + +- brp-strip-debug: Fix "find: paths must precede expression" errors + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ brp-check-suse.spec ++++++ --- /var/tmp/diff_new_pack.w20227/_old 2009-01-08 17:56:11.000000000 +0100 +++ /var/tmp/diff_new_pack.w20227/_new 2009-01-08 17:56:11.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package brp-check-suse (Version 1.0) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ AutoReqProv: on Summary: build root policy check scripts Version: 1.0 -Release: 16 +Release: 17 Source0: %{name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -56,6 +56,8 @@ /usr/lib/rpm/* %changelog +* Wed Jan 07 2009 jblunck@suse.de +- brp-strip-debug: Fix "find: paths must precede expression" errors * Tue Dec 16 2008 lnussel@suse.de - remove dbus script, replaced by rpmlint check * Thu Dec 04 2008 thomas@suse.de ++++++ brp-check-suse-1.0.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/brp-check-suse-1.0/brp-strip-debug new/brp-check-suse-1.0/brp-strip-debug --- old/brp-check-suse-1.0/brp-strip-debug 2008-09-29 18:02:17.000000000 +0200 +++ new/brp-check-suse-1.0/brp-strip-debug 2009-01-07 10:57:03.000000000 +0100 @@ -9,11 +9,12 @@ exit 0 fi -FIND_IGNORE="( -path */usr/lib/debug -o -path */lib/modules -o -path */opt/cross -o -path */proc ) -prune -o" +FIND_IGNORE='\( -path $RPM_BUILD_ROOT/usr/lib/debug -o -path $RPM_BUILD_ROOT/lib/modules -o -path $RPM_BUILD_ROOT/opt/cross -o -path $RPM_BUILD_ROOT/proc \) -prune -o' # Strip debuginfo from ELF binaries, but not static libraries or kernel modules -for f in $(find $RPM_BUILD_ROOT $FIND_IGNORE \( -name "*.a" -o -name "*.ko" \) \ - -prune -o -type f \( -perm /0111 -o -name "*.so*" \) -exec file {} \; | \ +for f in $(find $RPM_BUILD_ROOT $(echo "$(eval "echo $FIND_IGNORE")") \ + \( -name "*.a" -o -name "*.ko" \) -prune -o \ + -type f \( -perm /0111 -o -name "*.so*" \) -exec file {} \; | \ sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'); do mode=$(stat -c %a $f) chmod u+w $f || : @@ -22,7 +23,8 @@ done # Don't strip debuginfo from static libs, but compiler-generated local symbols -for f in $(find $RPM_BUILD_ROOT $FIND_IGNORE -type f -name "*.a" -print) ; do +for f in $(find $RPM_BUILD_ROOT $(echo "$(eval "echo $FIND_IGNORE")") \ + -type f -name "*.a" -print) ; do case $(file $f) in *"current ar"*|*ELF*", not stripped"*) chmod u+w $f || : ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de