forked from pool/build-compare
Accepting request 122046 from openSUSE:Tools
Only handle files. (forwarded request 122045 from a_jaeger) OBS-URL: https://build.opensuse.org/request/show/122046 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=72
This commit is contained in:
commit
b615a39f4a
@ -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
|
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
|
# 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
|
# 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.
|
# 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'))
|
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 -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'))
|
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
|
# Get release from first RPM and keep for rpmlint check
|
||||||
# Remember to quote the "." for future regexes
|
# Remember to quote the "." for future regexes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user