From 06a0db6e59327a8428bc2274aa7d5e0b06f22075268e1900c643d1520d0c5709 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Wed, 23 Sep 2009 15:21:47 +0000 Subject: [PATCH] Accepting request 20943 from home:a_jaeger:branches:openSUSE:Factory Copy from home:a_jaeger:branches:openSUSE:Factory/build-compare via accept of submit request 20943 revision 12. Request was accepted with message: . OBS-URL: https://build.opensuse.org/request/show/20943 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=36 --- build-compare.changes | 5 +++++ same-build-result.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build-compare.changes b/build-compare.changes index 578b57c..dddd201 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 23 15:17:49 UTC 2009 - aj@suse.de + +- Handle noarch subpackage in sort correctly. + ------------------------------------------------------------------- Tue Aug 25 10:28:17 CEST 2009 - mls@suse.de diff --git a/same-build-result.sh b/same-build-result.sh index 8ed5a53..ce2125d 100644 --- a/same-build-result.sh +++ b/same-build-result.sh @@ -51,7 +51,7 @@ bash $CMPSCRIPT "$osrpm" "$nsrpm" || exit 1 # technically we should not all exclude all -32bit but filter for different archs, but it would be better # if this script ran earlier in the build OLDRPMS=($(find "$OLDDIR" -name \*rpm -a ! -name \*src.rpm|sort|grep -v -- -32bit|grep -v -- -64bit|grep -v -- -x86)) -NEWRPMS=($(find $NEWDIRS -name \*rpm -a ! -name \*src.rpm|sort|grep -v -- -32bit|grep -v -- -64bit|grep -v -- -x86)) +NEWRPMS=($(find $NEWDIRS -name \*rpm -a ! -name \*src.rpm|sort --field-separator=/ --key=7|grep -v -- -32bit|grep -v -- -64bit|grep -v -- -x86)) rpmqp='rpm -qp --qf %{NAME} --nodigest --nosignature ' for opac in ${OLDRPMS[*]}; do