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/build-compare.spec b/build-compare.spec index 281d559..bf3558a 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -24,7 +24,7 @@ Group: Development/Tools/Building AutoReqProv: on Summary: Build Result Compare Script Version: 2009.08.20 -Release: 1 +Release: 2 Source: same-build-result.sh Source1: rpm-check.sh Source2: COPYING 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