3
0
forked from pool/build-compare

Accepting request 40613 from openSUSE:Tools

checked in (request 40613)

OBS-URL: https://build.opensuse.org/request/show/40613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=72
This commit is contained in:
OBS User autobuild 2010-05-25 12:57:16 +00:00 committed by Git OBS Bridge
parent fa1e1998e5
commit 57861b39d6
2 changed files with 2 additions and 12 deletions

View File

@ -1,13 +1,3 @@
-------------------------------------------------------------------
Sun May 23 12:19:56 UTC 2010 - aj@suse.de
- Release is at end of line, avoid wrong matches.
-------------------------------------------------------------------
Fri May 21 21:46:47 UTC 2010 - cmorve69@yahoo.es
- Improved ELF executable detection (bnc#604049).
-------------------------------------------------------------------
Thu May 20 08:23:52 UTC 2010 - aj@suse.de

View File

@ -159,7 +159,7 @@ check_provides()
QF="$QF [%{REQUIRENAME} %{REQUIREFLAGS} %{REQUIREVERSION}\\n]\\n"
QF="$QF [%{CONFLICTNAME} %{CONFLICTFLAGS} %{CONFLICTVERSION}\\n]\\n"
QF="$QF [%{OBSOLETENAME} %{OBSOLETEFLAGS} %{OBSOLETEVERSION}\\n]\\n"
check_header "$1" | sed -e "s,-$2$,-@RELEASE@,"
check_header "$1" | sed -e "s,-$2,-@RELEASE@,"
}
check_provides $oldrpm $release1 > $file1
@ -462,7 +462,7 @@ check_single_file()
return 1
fi
;;
*ELF*executable*|*ELF*LSB\ shared\ object*)
*executable*|*LSB\ shared\ object*)
objdump -d --no-show-raw-insn old/$file | filter_disasm > $file1
if ! test -s $file1; then
# objdump has no idea how to handle it