Hello community,

here is the log from the commit of package build-compare for openSUSE:Factory 
checked in at 2012-02-16 16:11:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/build-compare (Old)
 and      /work/SRC/openSUSE:Factory/.build-compare.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "build-compare", Maintainer is "co...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/build-compare/build-compare.changes      
2012-02-07 14:44:55.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.build-compare.new/build-compare.changes 
2012-02-16 16:11:41.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb 16 13:39:21 UTC 2012 - co...@suse.com
+
+- !unchanged if rpmlint.log was new created
+- !unchanged if appdata.xml was new or updated
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ build-compare.spec ++++++
--- /var/tmp/diff_new_pack.69ENUZ/_old  2012-02-16 16:11:42.000000000 +0100
+++ /var/tmp/diff_new_pack.69ENUZ/_new  2012-02-16 16:11:42.000000000 +0100
@@ -16,13 +16,12 @@
 #
 
 
-
 Name:           build-compare
+Summary:        Build Result Compare Script
 License:        GPL-2.0+
 Group:          Development/Tools/Building
-Summary:        Build Result Compare Script
 Version:        2012.01.26
-Release:        6
+Release:        0
 Source1:        COPYING
 Source2:        same-build-result.sh
 Source3:        rpm-check.sh

++++++ same-build-result.sh ++++++
--- /var/tmp/diff_new_pack.69ENUZ/_old  2012-02-16 16:11:42.000000000 +0100
+++ /var/tmp/diff_new_pack.69ENUZ/_new  2012-02-16 16:11:42.000000000 +0100
@@ -90,23 +90,39 @@
 fi
 
 # Compare rpmlint.log files
-RPMLINTDIR=/home/abuild/rpmbuild/OTHER
+OTHERDIR=/home/abuild/rpmbuild/OTHER
 
-if test -e $OLDDIR/rpmlint.log -a -e $RPMLINTDIR/rpmlint.log; then
+if test -e $OLDDIR/rpmlint.log -a -e $OTHERDIR/rpmlint.log; then
   file1=`mktemp`
   file2=`mktemp`
-  echo "comparing $OLDDIR/rpmlint.log and $RPMLINTDIR/rpmlint.log"
+  echo "comparing $OLDDIR/rpmlint.log and $OTHERDIR/rpmlint.log"
   # Sort the files first since the order of messages is not deterministic
   # Remove release from files
   sort -u $OLDDIR/rpmlint.log|sed -e "s,$release1,@RELEASE@,g" -e 
"s|/tmp/rpmlint\..*spec|.spec|g" > $file1
-  sort -u $RPMLINTDIR/rpmlint.log|sed -e "s,$release2,@RELEASE@,g" -e 
"s|/tmp/rpmlint\..*spec|.spec|g"  > $file2
+  sort -u $OTHERDIR/rpmlint.log|sed -e "s,$release2,@RELEASE@,g" -e 
"s|/tmp/rpmlint\..*spec|.spec|g"  > $file2
   if ! cmp -s $file1 $file2; then
     echo "rpmlint.log files differ:"
-    # File is sorted, so don't give context that will confuse readers
-    diff -u0 $file1 $file2 |head -n 20
+    diff -u $OLDDIR/rpmlint.log $OTHERDIR/rpmlint.log |head -n 20
     SUCCESS=0
   fi
   rm $file1 $file2
+elif -e $OTHERDIR/rpmlint.log; then
+  echo "rpmlint.log is new"
+  SUCCESS=0
+fi
+
+# compare appstream data
+if test -e $OLDDIR/appdata.xml -a -e $OTHERDIR/appdata.xml; then
+  file1=$OLDDIR/appdata.xml
+  file2=$OTHERDIR/appdata.xml
+  if ! cmp -s $file1 $file2; then
+    echo "appdata.xml files differ:"
+    diff -u0 $file1 $file2 |head -n 20
+    SUCCESS=0
+  fi
+elif -e $OTHERDIR/appdata.xml; then
+  echo "appdata.xml is new"
+  SUCCESS=0
 fi
 
 if test $SUCCESS -eq 0; then

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to