- Handle also .o files as ELF relocatable objects

- Rename rpm-check.sh to pkg-diff.sh

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=175
This commit is contained in:
Olaf Hering 2015-02-12 11:10:09 +00:00 committed by Git OBS Bridge
parent 1454a884a1
commit a3ff50b6b4
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 12 10:41:45 UTC 2015 - olaf@aepfle.de
- Handle also .o files as ELF relocatable objects
-------------------------------------------------------------------
Thu Feb 12 08:22:09 UTC 2015 - randy.e.witt@linux.intel.com
- Rename rpm-check.sh to pkg-diff.sh
-------------------------------------------------------------------
Tue Feb 10 15:35:25 UTC 2015 - olaf@aepfle.de

View File

@ -25,7 +25,7 @@ Version: 2015.02.10
Release: 0
Source1: COPYING
Source2: same-build-result.sh
Source3: rpm-check.sh
Source3: pkg-diff.sh
Source4: functions.sh
Source5: srpm-check.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build

View File

@ -637,7 +637,7 @@ check_single_file()
return 1
fi
;;
ELF*executable*|ELF*[LM]SB\ shared\ object*)
ELF*executable*|ELF*[LM]SB\ relocatable*|ELF*[LM]SB\ 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

View File

@ -7,11 +7,11 @@
# Enhanced by Andreas Jaeger <aj@suse.de>
#
# The script decides if the new build differes from the former one,
# using rpm-check.sh.
# using pkg-diff.sh.
# The script is called as part of the build process as:
# /usr/lib/build/same-build-result.sh /.build.oldpackages /usr/src/packages/RPMS /usr/src/packages/SRPMS
CMPSCRIPT=${0%/*}/rpm-check.sh
CMPSCRIPT=${0%/*}/pkg-diff.sh
SCMPSCRIPT=${0%/*}/srpm-check.sh
check_all=1