Hello community,

here is the log from the commit of package build-compare for openSUSE:Factory 
checked in at 2015-02-22 17:19:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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      
2015-02-08 11:42:12.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.build-compare.new/build-compare.changes 
2015-02-22 17:19:56.000000000 +0100
@@ -1,0 +2,27 @@
+Thu Feb 12 10:41:45 UTC 2015 - [email protected]
+
+- Handle also .o files as ELF relocatable objects
+
+-------------------------------------------------------------------
+Thu Feb 12 08:22:09 UTC 2015 - [email protected]
+
+- Rename rpm-check.sh to pkg-diff.sh
+
+-------------------------------------------------------------------
+Tue Feb 10 15:35:25 UTC 2015 - [email protected]
+
+- 2015.02.10
+- Trim objdump output properly
+- Trim .TH also in localized man pages (bnc#915941)
+- Remove also DVIPSSource from .ps files
+
+-------------------------------------------------------------------
+Tue Feb 10 15:33:32 UTC 2015 - [email protected]
+
+- Print section differences even if assembly has differences.
+- Add support for nested rpms.
+- Make rpm-check work for "packages" other than rpm.
+- Tell which section was different when doing ELF comparisons.
+- Error when one of the rpms is not found
+
+-------------------------------------------------------------------

Old:
----
  rpm-check.sh

New:
----
  pkg-diff.sh

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

Other differences:
------------------
++++++ build-compare.spec ++++++
--- /var/tmp/diff_new_pack.KGyH0B/_old  2015-02-22 17:19:57.000000000 +0100
+++ /var/tmp/diff_new_pack.KGyH0B/_new  2015-02-22 17:19:57.000000000 +0100
@@ -21,11 +21,11 @@
 License:        GPL-2.0+
 Group:          Development/Tools/Building
 Url:            https://github.com/openSUSE/build-compare
-Version:        2015.02.06
+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

++++++ functions.sh ++++++
--- /var/tmp/diff_new_pack.KGyH0B/_old  2015-02-22 17:19:57.000000000 +0100
+++ /var/tmp/diff_new_pack.KGyH0B/_new  2015-02-22 17:19:57.000000000 +0100
@@ -57,19 +57,35 @@
   check_header "$pkg"
 }
 
-#usage unrpm <file> $dir
-# Unpack rpm files in directory $dir
-# like /usr/bin/unrpm - just for one file and with no options
-function unrpm()
+#usage unpackage <file> $dir
+# Unpack files in directory $dir
+# like /usr/bin/unpackage - just for one file and with no options
+function unpackage()
 {
     local file
     local dir
     file=$1
     dir=$2
-    CPIO_OPTS="--extract --unconditional --preserve-modification-time 
--make-directories --quiet"
     mkdir -p $dir
     pushd $dir 1>/dev/null
-    rpm2cpio $file | cpio ${CPIO_OPTS}
+    case $file in
+        *.bz2)
+            bzip2 -d $file
+            ;;
+        *.gz)
+            gzip -d $file
+            ;;
+        *.xz)
+            xz -d $file
+            ;;
+        *.tar|*.tar.bz2|*.tar.gz|*.tgz|*.tbz2)
+            tar xf $file
+            ;;
+        *.rpm)
+            CPIO_OPTS="--extract --unconditional --preserve-modification-time 
--make-directories --quiet"
+            rpm2cpio $file | cpio ${CPIO_OPTS}
+            ;;
+    esac
     popd 1>/dev/null
 }
 
@@ -85,6 +101,8 @@
     local file1 file2
     local f
     local sh=$1
+    local oldrpm=$2
+    local newrpm=$3
 
     QF="%{NAME}"
     

++++++ pkg-diff.sh ++++++
++++ 765 lines (skipped)

++++++ same-build-result.sh ++++++
--- /var/tmp/diff_new_pack.KGyH0B/_old  2015-02-22 17:19:57.000000000 +0100
+++ /var/tmp/diff_new_pack.KGyH0B/_new  2015-02-22 17:19:57.000000000 +0100
@@ -7,11 +7,11 @@
 # Enhanced by Andreas Jaeger <[email protected]>
 #
 # 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

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to