Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package build-compare for openSUSE:Factory 
checked in at 2023-06-23 21:52:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/build-compare (Old)
 and      /work/SRC/openSUSE:Factory/.build-compare.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "build-compare"

Fri Jun 23 21:52:15 2023 rev:126 rq:1094273 version:20230617T171717.50241a8

Changes:
--------
--- /work/SRC/openSUSE:Factory/build-compare/build-compare.changes      
2023-05-09 13:05:42.368438270 +0200
+++ /work/SRC/openSUSE:Factory/.build-compare.new.15902/build-compare.changes   
2023-06-23 21:52:23.882550140 +0200
@@ -1,0 +2,10 @@
+Sat Jun 17 17:17:17 UTC 2023 - o...@aepfle.de
+
+- Filter dune language version in dune-package files
+
+-------------------------------------------------------------------
+Wed May  3 17:32:18 UTC 2023 - Oleg Girko <o...@infoserver.lv>
+
+- Fix filtering compiled Python modules to handle Python >= 3.7
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ build-compare.spec ++++++
--- /var/tmp/diff_new_pack.RHC5e9/_old  2023-06-23 21:52:26.418563917 +0200
+++ /var/tmp/diff_new_pack.RHC5e9/_new  2023-06-23 21:52:26.426563960 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           build-compare
-Version:        20230428T221133.82ffb27
+Version:        20230617T171717.50241a8
 Release:        0
 Summary:        Build Result Compare Script
 License:        GPL-2.0-or-later

++++++ pkg-diff.sh ++++++
--- /var/tmp/diff_new_pack.RHC5e9/_old  2023-06-23 21:52:26.498564351 +0200
+++ /var/tmp/diff_new_pack.RHC5e9/_new  2023-06-23 21:52:26.502564373 +0200
@@ -64,7 +64,26 @@
 }
 
 filter_pyc() {
-   perl -e "open fh, '+<', '$f'; seek fh, 4, SEEK_SET; print fh '0000';"
+   perl -e '
+   my $ts_off = 4;
+   my $f = shift;
+   open fh, "+<", $f;
+   my $data;
+   die "Unexpected EOF while reading $f" if read(fh, $data, 2) < 2;
+   my $magic1 = unpack "v", $data;
+   die "Unexpected EOF while reading $f" if read(fh, $data, 2) < 2;
+   my $magic2 = unpack "v", $data;
+   die "File $f is not a compiled Python module" if $magic2 != 0x0a0d;
+   if ($magic1 >= 3392 && $magic1 < 20000) {
+     $ts_off += 4;
+     die "Unexpected EOF while reading $f" if read(fh, $data, 4) < 4;
+     my $flags = unpack "V", $data;
+     $ts_off += 8 if $flags & 0x1;
+   }
+   seek fh, $ts_off, SEEK_SET;
+   print fh "0000";
+   close fh;
+   ' "$f"
 }
 
 filter_dvi() {
@@ -645,6 +664,9 @@
       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"
       ;;
+    */dune-package)
+      sed -i '1s@^(lang dune [^)]\+)@(lang dune 0.0)@' "old/$file" "new/$file"
+      ;;
   esac
 }
 

Reply via email to