forked from pool/build-compare
Accepting request 122045 from home:a_jaeger:branches:build-compare-test
Only handle files. OBS-URL: https://build.opensuse.org/request/show/122045 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=136
This commit is contained in:
parent
d839127fc6
commit
91be221a3d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 10:17:15 UTC 2012 - aj@suse.de
|
||||
|
||||
- Only handle files, not directories when searching for packages.
|
||||
Patch by Matthieu Tanguay-Carel <mtanguay@thoughtworks.com>.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 8 12:35:21 UTC 2012 - aj@suse.de
|
||||
|
||||
|
@ -59,8 +59,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 -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'))
|
||||
OLDRPMS=($(find "$OLDDIR" -type f -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 -type f -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'))
|
||||
|
||||
# Get release from first RPM and keep for rpmlint check
|
||||
# Remember to quote the "." for future regexes
|
||||
|
Loading…
x
Reference in New Issue
Block a user