Hello community,

here is the log from the commit of package build-compare for openSUSE:Factory 
checked in at 2016-11-19 12:48:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/build-compare (Old)
 and      /work/SRC/openSUSE:Factory/.build-compare.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "build-compare"

Changes:
--------
--- /work/SRC/openSUSE:Factory/build-compare/build-compare.changes      
2016-10-20 23:04:40.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.build-compare.new/build-compare.changes 
2016-11-19 12:48:42.000000000 +0100
@@ -1,0 +2,17 @@
+Wed Nov  9 06:48:22 UTC 2016 - o...@aepfle.de
+
+- Ignore /etc/ld.so.cache
+- Ignore /etc/machine-id
+
+-------------------------------------------------------------------
+Tue Nov  8 08:06:30 UTC 2016 - o...@aepfle.de
+
+- Ignore /etc/hosts
+- Handle every path matching /share/man/ as man page
+
+-------------------------------------------------------------------
+Mon Nov  7 03:54:00 UTC 2016 - o...@infoserver.lv
+
+- Ignore .gnu_debugdata section when comparing ELF files.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ build-compare.spec ++++++
--- /var/tmp/diff_new_pack.5YB4BU/_old  2016-11-19 12:48:43.000000000 +0100
+++ /var/tmp/diff_new_pack.5YB4BU/_new  2016-11-19 12:48:43.000000000 +0100
@@ -21,7 +21,7 @@
 License:        GPL-2.0+
 Group:          Development/Tools/Building
 Url:            https://github.com/openSUSE/build-compare
-Version:        20161012T163739.10c9ac7
+Version:        20161109T075305.eed6e97
 Release:        0
 Source1:        COPYING
 Source2:        same-build-result.sh

++++++ pkg-diff.sh ++++++
--- /var/tmp/diff_new_pack.5YB4BU/_old  2016-11-19 12:48:43.000000000 +0100
+++ /var/tmp/diff_new_pack.5YB4BU/_new  2016-11-19 12:48:43.000000000 +0100
@@ -636,7 +636,7 @@
          trim_man_first_line $f
        done
        ;;
-     /usr/share/man/*/man*|/usr/share/man/man*|/usr/lib/texmf/doc/man/*/*)
+     */share/man/*|/usr/lib/texmf/doc/man/*/*)
 
        for f in old/$file new/$file; do
          trim_man_TH $f
@@ -735,6 +735,15 @@
         sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "old/$file"
         sed -i '/^InitrdID:/s@^.*@InitrdID: something@' "new/$file"
       ;;
+      */ld.so.cache|*/etc/machine-id)
+        # packaged by libguestfs
+        return 0
+      ;;
+      */etc/hosts)
+        # packaged by libguestfs
+        sed -i 's/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "old/$file"
+        sed -i 's/^127.0.0.1[[:blank:]].*/127.0.0.1 hst/' "new/$file"
+      ;;
   esac
 
   ftype=`/usr/bin/file old/$file | sed -e 's@^[^:]\+:[[:blank:]]*@@' -e 
's@[[:blank:]]*$@@'`
@@ -777,8 +786,8 @@
        fi
        echo "" >$file1
        echo "" >$file2
-       # Don't compare .build-id and .gnu_debuglink sections
-       sections="$($OBJDUMP -s new/$file | grep "Contents of section .*:" | 
sed -r "s,.* (.*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" | tr 
"\n" " ")"
+       # Don't compare .build-id, .gnu_debuglink and .gnu_debugdata sections
+       sections="$($OBJDUMP -s new/$file | grep "Contents of section .*:" | 
sed -r "s,.* (.*):,\1,g" | grep -v -e "\.build-id" -e "\.gnu_debuglink" -e 
"\.gnu_debugdata" | tr "\n" " ")"
        for section in $sections; do
           $OBJDUMP -s -j $section old/$file | sed "s,^old/,," > $file1
           $OBJDUMP -s -j $section new/$file | sed "s,^new/,," > $file2
@@ -789,7 +798,7 @@
           fi
        done
        if test -z "$elfdiff"; then
-          echo "$file: only difference was in build-id or gnu_debuglink, GOOD."
+          echo "$file: only difference was in build-id, gnu_debuglink or 
gnu_debugdata, GOOD."
           return 0
        fi
        return 1


Reply via email to