Hello community, here is the log from the commit of package post-build-checks checked in at Tue Sep 30 11:25:30 CEST 2008. -------- --- post-build-checks/post-build-checks.changes 2008-09-23 12:17:42.000000000 +0200 +++ /mounts/work_users/ro/STABLE/post-build-checks/post-build-checks.changes 2008-09-30 11:24:58.491152000 +0200 @@ -1,0 +2,5 @@ +Tue Sep 30 11:24:47 CEST 2008 - ro@suse.de + +- make uname.sh more robust + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ post-build-checks.spec ++++++ --- /var/tmp/diff_new_pack.E14091/_old 2008-09-30 11:25:08.000000000 +0200 +++ /var/tmp/diff_new_pack.E14091/_new 2008-09-30 11:25:08.000000000 +0200 @@ -24,7 +24,7 @@ AutoReqProv: on Summary: post checks for build after rpms have been created Version: 1.0 -Release: 43 +Release: 44 PreReq: aaa_base permissions sed Source0: %{name}-%{version}.tar.bz2 BuildArch: noarch @@ -73,6 +73,8 @@ /usr/lib/build %changelog +* Tue Sep 30 2008 ro@suse.de +- make uname.sh more robust * Tue Sep 23 2008 dmueller@suse.de - remove uses-function-address debug statement, confuses more people than it helps ++++++ post-build-checks-1.0.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/post-build-checks-1.0/helper/uname.sh new/post-build-checks-1.0/helper/uname.sh --- old/post-build-checks-1.0/helper/uname.sh 2008-09-05 02:11:55.000000000 +0200 +++ new/post-build-checks-1.0/helper/uname.sh 2008-09-30 11:24:26.000000000 +0200 @@ -7,23 +7,7 @@ fi if test -z "$MREL" -a -L /usr/src/linux -a -d /usr/src/linux ; then - MREL=`readlink /usr/src/linux` - MREL=${MREL#linux} - MREL=${MREL#-} - uarch=`uname.bin -m` - # taken from kernel-source - arch=$(echo $uarch \ - | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ - -e s/arm.*/arm/ -e s/sa110/arm/ \ - -e s/s390x/s390/ -e s/parisc64/parisc/ \ - -e s/ppc.*/powerpc/) - flavor="$( - cd /usr/src/linux-$MREL/arch/$arch - set -- defconfig.* - [ -e defconfig.default ] && set -- defconfig.default - echo ${1/defconfig.} - )" - test -n "$flavor" && MREL="$MREL-$flavor" + MREL=$( shopt -s nullglob; set -- /lib/modules/*-default /lib/modules/* ; basename $1 ) fi if test -z "$MREL" -a -f /usr/src/linux/Makefile ; then ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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