Hello community, here is the log from the commit of package post-build-checks for openSUSE:Factory checked in at Fri May 22 16:06:45 CEST 2009. -------- --- post-build-checks/post-build-checks.changes 2009-02-23 15:43:56.000000000 +0100 +++ /mounts/work_src_done/STABLE/post-build-checks/post-build-checks.changes 2009-05-22 15:57:31.000000000 +0200 @@ -1,0 +2,5 @@ +Fri May 22 15:56:48 CEST 2009 - ro@suse.de + +- more ugly tweaks to uname hack + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ post-build-checks.spec ++++++ --- /var/tmp/diff_new_pack.Dd3633/_old 2009-05-22 16:06:37.000000000 +0200 +++ /var/tmp/diff_new_pack.Dd3633/_new 2009-05-22 16:06:37.000000000 +0200 @@ -24,7 +24,7 @@ AutoReqProv: on Summary: post checks for build after rpms have been created Version: 1.0 -Release: 57 +Release: 58 PreReq: aaa_base permissions sed Source0: %{name}-%{version}.tar.bz2 BuildArch: noarch @@ -84,6 +84,8 @@ /usr/lib/build %changelog +* Fri May 22 2009 ro@suse.de +- more ugly tweaks to uname hack * Mon Feb 23 2009 ro@suse.de - cleanup uname hack in preun (bnc#476885) * Fri Feb 20 2009 coolo@suse.de @@ -91,7 +93,7 @@ team review them case by case * Tue Oct 28 2008 lnussel@suse.de - remove suid check. replaced by rpmlint script -* Mon Oct 27 2008 meissner@suse.de +* Tue Oct 28 2008 meissner@suse.de - added warning checks for: array subscript over/underflow, void return not expected warnings. bnc#240922,bnc#439283 * Thu Oct 23 2008 lnussel@suse.de ++++++ 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-30 11:24:26.000000000 +0200 +++ new/post-build-checks-1.0/helper/uname.sh 2009-05-22 15:56:38.000000000 +0200 @@ -10,6 +10,14 @@ MREL=$( shopt -s nullglob; set -- /lib/modules/*-default /lib/modules/* ; basename $1 ) fi +if test -z "$MREL" -a -L /usr/src/linux -a -d /usr/src/linux -a -d /usr/src/linux-obj ; then + MVER=$(readlink /usr/src/linux) + MVER=${MVER#linux-} + ARCH=$(uname.bin -m) + MFLAV=$( shopt -s nullglob; set -- /usr/src/linux-obj/$ARCH/default /usr/src/linux-obj/$ARCH/* ; test -n "$1" && basename $1 ) + test -n "$MVER" -a -n "$MFLAV" && MREL=$MVER-$MFLAV +fi + if test -z "$MREL" -a -f /usr/src/linux/Makefile ; then MREL=`grep "^VERSION = " /usr/src/linux/Makefile 2> /dev/null | sed -e "s/VERSION = //"` MREL=$MREL.`grep "^PATCHLEVEL = " /usr/src/linux/Makefile 2> /dev/null | sed -e "s/PATCHLEVEL = //"` ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org