Hello community,

here is the log from the commit of package build-compare for openSUSE:Factory 
checked in at 2015-09-08 17:35:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-08-21 07:35:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.build-compare.new/build-compare.changes 
2015-09-08 17:35:34.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Aug 21 12:57:57 UTC 2015 - [email protected]
+
+- avoid -kmp packages with "filename-too-long-for-joliet"
+  triggering constant republishing
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ build-compare.spec ++++++
--- /var/tmp/diff_new_pack.iJhNYb/_old  2015-09-08 17:35:35.000000000 +0200
+++ /var/tmp/diff_new_pack.iJhNYb/_new  2015-09-08 17:35:35.000000000 +0200
@@ -21,7 +21,7 @@
 License:        GPL-2.0+
 Group:          Development/Tools/Building
 Url:            https://github.com/openSUSE/build-compare
-Version:        2015.07.15
+Version:        20150821T175907.9b8c0be
 Release:        0
 Source1:        COPYING
 Source2:        same-build-result.sh

++++++ same-build-result.sh ++++++
--- /var/tmp/diff_new_pack.iJhNYb/_old  2015-09-08 17:35:35.000000000 +0200
+++ /var/tmp/diff_new_pack.iJhNYb/_new  2015-09-08 17:35:35.000000000 +0200
@@ -117,6 +117,13 @@
     # Remove release from files
     sort -u $OLDDIR/rpmlint.log|sed -e "s,$ver_rel1,@VERSION@-@RELEASE@,g" -e 
"s|/tmp/rpmlint\..*spec|.spec|g" > $file1
     sort -u $OTHERDIR/rpmlint.log|sed -e "s,$ver_rel2,@VERSION@-@RELEASE@,g" 
-e "s|/tmp/rpmlint\..*spec|.spec|g"  > $file2
+    ### kmp's are strange:
+    # the correct way would be to find the versions of -kmp- packages and 
ignore them, but this will do, too.
+    # example: this one leads to constant republishing of virtualbox for every 
build.
+    # -virtualbox-guest-kmp-default.x86_64: W: filename-too-long-for-joliet 
virtualbox-guest-kmp-default-5.0.2_k3.16.7_24-177.d_l_ocaml.2.x86_64.rpm
+    # +virtualbox-guest-kmp-default.x86_64: W: filename-too-long-for-joliet 
virtualbox-guest-kmp-default-5.0.2_k3.16.7_24-178.d_l_ocaml.1.x86_64.rpm
+    sed -i -e "/W: filename-too-long-for-joliet/s,\(^.*-kmp-.*-kmp-\).*$,\1," 
$file1
+    sed -i -e "/W: filename-too-long-for-joliet/s,\(^.*-kmp-.*-kmp-\).*$,\1," 
$file2
     if ! cmp -s $file1 $file2; then
       echo "rpmlint.log files differ:"
       diff -u $file1 $file2 |head -n 20


Reply via email to