forked from pool/build-compare
- 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:
parent
1454a884a1
commit
a3ff50b6b4
@ -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
|
Tue Feb 10 15:35:25 UTC 2015 - olaf@aepfle.de
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Version: 2015.02.10
|
|||||||
Release: 0
|
Release: 0
|
||||||
Source1: COPYING
|
Source1: COPYING
|
||||||
Source2: same-build-result.sh
|
Source2: same-build-result.sh
|
||||||
Source3: rpm-check.sh
|
Source3: pkg-diff.sh
|
||||||
Source4: functions.sh
|
Source4: functions.sh
|
||||||
Source5: srpm-check.sh
|
Source5: srpm-check.sh
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
@ -637,7 +637,7 @@ check_single_file()
|
|||||||
return 1
|
return 1
|
||||||
fi
|
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
|
objdump -d --no-show-raw-insn old/$file | filter_disasm > $file1
|
||||||
if ! test -s $file1; then
|
if ! test -s $file1; then
|
||||||
# objdump has no idea how to handle it
|
# objdump has no idea how to handle it
|
@ -7,11 +7,11 @@
|
|||||||
# Enhanced by Andreas Jaeger <aj@suse.de>
|
# Enhanced by Andreas Jaeger <aj@suse.de>
|
||||||
#
|
#
|
||||||
# The script decides if the new build differes from the former one,
|
# 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:
|
# 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
|
# /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
|
SCMPSCRIPT=${0%/*}/srpm-check.sh
|
||||||
|
|
||||||
check_all=1
|
check_all=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user