Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mkdud for openSUSE:Factory checked 
in at 2021-11-10 21:47:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mkdud (Old)
 and      /work/SRC/openSUSE:Factory/.mkdud.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mkdud"

Wed Nov 10 21:47:05 2021 rev:35 rq:930671 version:1.53

Changes:
--------
--- /work/SRC/openSUSE:Factory/mkdud/mkdud.changes      2021-05-15 
01:24:28.254965253 +0200
+++ /work/SRC/openSUSE:Factory/.mkdud.new.1890/mkdud.changes    2021-11-10 
21:47:55.567850097 +0100
@@ -1,0 +2,7 @@
+Wed Nov 10 13:34:34 UTC 2021 - wfe...@opensuse.org
+
+- merge gh#openSUSE/mkdud#37
+- adapt to support zstd compressed kernel modules
+- 1.53
+
+--------------------------------------------------------------------

Old:
----
  mkdud-1.52.tar.xz

New:
----
  mkdud-1.53.tar.xz

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

Other differences:
------------------
++++++ mkdud.spec ++++++
--- /var/tmp/diff_new_pack.s8atBz/_old  2021-11-10 21:47:55.903850243 +0100
+++ /var/tmp/diff_new_pack.s8atBz/_new  2021-11-10 21:47:55.907850245 +0100
@@ -30,7 +30,7 @@
 Summary:        Create driver update from rpms
 License:        GPL-3.0-or-later
 Group:          Hardware/Other
-Version:        1.52
+Version:        1.53
 Release:        0
 Source:         %{name}-%{version}.tar.xz
 Url:            https://github.com/openSUSE/mkdud

++++++ mkdud-1.52.tar.xz -> mkdud-1.53.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mkdud-1.52/VERSION new/mkdud-1.53/VERSION
--- old/mkdud-1.52/VERSION      2021-05-14 11:10:05.000000000 +0200
+++ new/mkdud-1.53/VERSION      2021-11-10 14:34:34.000000000 +0100
@@ -1 +1 @@
-1.52
+1.53
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mkdud-1.52/changelog new/mkdud-1.53/changelog
--- old/mkdud-1.52/changelog    2021-05-14 11:10:05.000000000 +0200
+++ new/mkdud-1.53/changelog    2021-11-10 14:34:34.000000000 +0100
@@ -1,3 +1,7 @@
+2021-11-10:    1.53
+       - merge gh#openSUSE/mkdud#37
+       - adapt to support zstd compressed kernel modules
+
 2021-05-14:    1.52
        - merge gh#openSUSE/mkdud#36
        - add SLE Micro to the list of known products (bsc#1185844)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mkdud-1.52/mkdud new/mkdud-1.53/mkdud
--- old/mkdud-1.52/mkdud        2021-05-14 11:10:05.000000000 +0200
+++ new/mkdud-1.53/mkdud        2021-11-10 14:34:34.000000000 +0100
@@ -98,9 +98,9 @@
 my $REPLACEABLE_YAST = '3.1.135';
 
 # valid kernel module extensions
-my $kext_regexp = '\.ko(?:\.xz)?';
-my $kext_glob = '.ko{,.xz}';
-my @kext_list = qw ( .ko .ko.xz );
+my $kext_regexp = '\.ko(?:\.xz|\.gz|\.zst)?';
+my $kext_glob = '.ko{,.xz,.gz,.zst}';
+my @kext_list = qw ( .ko .ko.xz .ko.gz .ko.zst );
 
 sub usage;
 sub get_file_arch;
@@ -447,8 +447,8 @@
 #
 # Return architecture for $file or undef if it couldn't be determined.
 #
-# $file may optionally be xz or gzip compressed (with file extensions .xz
-# resp. .gz).
+# $file may optionally be xz, gzip, or zstd compressed (with file extensions
+# .xz, .gz, or .zst, respectively)
 #
 sub get_file_arch
 {
@@ -471,9 +471,10 @@
     'elf64-x86-64' => 'x86_64',
   };
 
-  if($file =~ /\.(gz|xz)$/) {
+  if($file =~ /\.(gz|xz|zst)$/) {
     my $compr = 'gzip -dc';
     $compr = 'xz -dc' if $1 eq 'xz';
+    $compr = 'zstd -dc' if $1 eq 'zst';
     my $tmp_file = $tmp->file();
     system "$compr $file > $tmp_file";
     $file = $tmp_file;

Reply via email to