From e834b3955a28dcf2650a2333bae18843711384351b096306d06c7a03f2bafe8d Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 7 Jul 2014 17:22:50 +0000 Subject: [PATCH] Accepting request 239764 from home:a_jaeger:FactoryFix Fix last patch OBS-URL: https://build.opensuse.org/request/show/239764 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=141 --- build-compare.changes | 5 +++++ rpm-check.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build-compare.changes b/build-compare.changes index 028ec44..8928b4a 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 7 08:28:45 UTC 2014 - aj@suse.com + +- Fix last patch to not use non-existant file (bnc#877078). + ------------------------------------------------------------------- Fri May 9 18:30:26 UTC 2014 - johannesobermayr@gmx.de diff --git a/rpm-check.sh b/rpm-check.sh index 1014ab2..4779958 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -463,7 +463,7 @@ check_single_file() echo "" >$file1 echo "" >$file2 # Don't compare .build-id and .gnu_debuglink sections - for section in $(objdump -s $file | grep "Contents of section .*:" | sed -r "s,.* (\..*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" | tr + for section in $(objdump -s new/$file | grep "Contents of section .*:" | sed -r "s,.* (\..*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" | tr "\n" " "); do objdump -s -j $section old/$file | sed "s,old/,," >> $file1 objdump -s -j $section new/$file | sed "s,new/,," >> $file2