Accepting request 48625 from home:lnussel:branches:openSUSE:Tools:Unstable
Thanks! OBS-URL: https://build.opensuse.org/request/show/48625 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=80
This commit is contained in:
parent
2be61e5a08
commit
6cbb08e5af
@ -14,6 +14,11 @@ Mon Sep 20 07:58:59 UTC 2010 - aj@suse.de
|
||||
|
||||
- Create script for just checking source rpms.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 20 15:21:55 UTC 2010 - lnussel@suse.de
|
||||
|
||||
- exclude delta rpms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 9 20:02:33 UTC 2010 - aj@suse.de
|
||||
|
||||
|
@ -28,9 +28,9 @@ if [ -z "$NEWDIRS" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if test `find $NEWDIRS -name *.rpm | wc -l` != `find $OLDDIR -name *.rpm | wc -l`; then
|
||||
if test `find $NEWDIRS -name '*.rpm' -and ! -name '*.delta.rpm' | wc -l` != `find $OLDDIR -name '*.rpm' -and ! -name '*.delta.rpm' | wc -l`; then
|
||||
echo "different number of subpackages"
|
||||
find $OLDDIR $NEWDIRS -name *.rpm
|
||||
find $OLDDIR $NEWDIRS -name '*.rpm' -and ! -name '*.delta.rpm'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@ -57,8 +57,8 @@ bash $SCMPSCRIPT "$osrpm" "$nsrpm" || exit 1
|
||||
# problem: a package can contain both noarch and arch subpackages, so we have to
|
||||
# take care of proper sorting of NEWRPMS, e.g. noarch/x.rpm and x86_64/w.rpm since OLDRPMS
|
||||
# has all the packages in a single directory and would sort this as w.rpm, x.rpm.
|
||||
OLDRPMS=($(find "$OLDDIR" -name \*rpm -a ! -name \*src.rpm|sort|grep -v -- -32bit-|grep -v -- -64bit-|grep -v -- '-x86-.*\.ia64\.rpm'))
|
||||
NEWRPMS=($(find $NEWDIRS -name \*rpm -a ! -name \*src.rpm|sort --field-separator=/ --key=7|grep -v -- -32bit-|grep -v -- -64bit-|grep -v -- '-x86-.*\.ia64\.rpm'))
|
||||
OLDRPMS=($(find "$OLDDIR" -name \*rpm -a ! -name \*src.rpm -a ! -name \*.delta.rpm|sort|grep -v -- -32bit-|grep -v -- -64bit-|grep -v -- '-x86-.*\.ia64\.rpm'))
|
||||
NEWRPMS=($(find $NEWDIRS -name \*rpm -a ! -name \*src.rpm -a ! -name \*.delta.rpm|sort --field-separator=/ --key=7|grep -v -- -32bit-|grep -v -- -64bit-|grep -v -- '-x86-.*\.ia64\.rpm'))
|
||||
|
||||
rpmqp='rpm -qp --qf %{NAME} --nodigest --nosignature '
|
||||
for opac in ${OLDRPMS[*]}; do
|
||||
|
Loading…
Reference in New Issue
Block a user