Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package inst-source-utils for 
openSUSE:Factory checked in at 2023-11-13 22:17:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/inst-source-utils (Old)
 and      /work/SRC/openSUSE:Factory/.inst-source-utils.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "inst-source-utils"

Mon Nov 13 22:17:51 2023 rev:66 rq:1124271 version:2023.11.08

Changes:
--------
--- /work/SRC/openSUSE:Factory/inst-source-utils/inst-source-utils.changes      
2022-05-22 20:26:18.734165608 +0200
+++ 
/work/SRC/openSUSE:Factory/.inst-source-utils.new.17445/inst-source-utils.changes
   2023-11-13 22:20:29.154652329 +0100
@@ -1,0 +2,12 @@
+Wed Nov  8 16:06:01 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2023.11.08:
+  - Handle zstd repos in rezip_repo_rsyncable
+
+-------------------------------------------------------------------
+Tue Aug  1 17:55:46 CET 2023 - [email protected]
+
+- added a small perl helper to create updateinfos on your own
+- added some help
+
+-------------------------------------------------------------------

Old:
----
  inst-source-utils-2021.09.09.obscpio

New:
----
  inst-source-utils-2023.11.08.obscpio

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

Other differences:
------------------
++++++ inst-source-utils.spec ++++++
--- /var/tmp/diff_new_pack.HqCGH6/_old  2023-11-13 22:20:29.838677514 +0100
+++ /var/tmp/diff_new_pack.HqCGH6/_new  2023-11-13 22:20:29.838677514 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package inst-source-utils
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 Summary:        Utilities for creating customized installation sources
 License:        GPL-2.0-or-later
 Group:          System/YaST
-Version:        2021.09.09
+Version:        2023.11.08
 Release:        0
 URL:            https://en.opensuse.org/Inst-source-utils
 BuildArch:      noarch
@@ -29,6 +29,7 @@
 Provides:       autoyast2-utils = 2.14.10
 Recommends:     create-repo-utils
 Requires:       perl-XML-Parser
+Requires:       zstd
 Source:         %name-%version.tar.xz
 Source1:        split.pl
 
@@ -36,7 +37,7 @@
 Utilities supporting autoinstallation and creation of customized
 installation sources.
 
-Have a look at https://en.opensuse.org/Inst-source-utils for a detailed
+Have a look at http://en.opensuse.org/Inst-source-utils for a detailed
 description of each script.
 
 %prep
@@ -51,7 +52,6 @@
 
 %files
 %license COPYING
-%defattr(755,root,root,755)
 %_bindir/*
 %defattr(644,root,root,755)
 %_datadir/%name

++++++ _service ++++++
--- /var/tmp/diff_new_pack.HqCGH6/_old  2023-11-13 22:20:29.866678545 +0100
+++ /var/tmp/diff_new_pack.HqCGH6/_new  2023-11-13 22:20:29.870678693 +0100
@@ -2,8 +2,8 @@
   <service name="obs_scm" mode="disabled">
     <param name="url">https://github.com/openSUSE/inst-source-utils.git</param>
     <param name="scm">git</param>
-    <param name="version">2021.09.09</param>
-    <param name="revision">2021.09.09</param>
+    <param name="version">2023.11.08</param>
+    <param name="revision">2023.11.08</param>
     <param name="extract">inst-source-utils.changes</param>
     <param name="extract">inst-source-utils.spec</param>
   </service>

++++++ inst-source-utils-2021.09.09.obscpio -> 
inst-source-utils-2023.11.08.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/inst-source-utils-2021.09.09/inst-source-utils.changes 
new/inst-source-utils-2023.11.08/inst-source-utils.changes
--- old/inst-source-utils-2021.09.09/inst-source-utils.changes  2021-09-09 
15:22:58.000000000 +0200
+++ new/inst-source-utils-2023.11.08/inst-source-utils.changes  2023-11-08 
17:57:29.000000000 +0100
@@ -1,4 +1,39 @@
 -------------------------------------------------------------------
+Wed Nov  8 16:06:01 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2023.11.08:
+  - Handle zstd repos in rezip_repo_rsyncable
+
+-------------------------------------------------------------------
+Tue Aug  1 17:55:46 CET 2023 - [email protected]
+
+- added a small perl helper to create updateinfos on your own
+- added some help
+
+-------------------------------------------------------------------
+Wed Apr 27 10:19:51 UTC 2022 - Dirk Müller <[email protected]>
+
+- fix URL
+- use %%license tag
+
+-------------------------------------------------------------------
+Thu Sep  9 16:49:31 UTC 2021 - Marcus Rueckert <[email protected]>
+
+- update to 2021.09.09 (boo#1178224)
+  - This should fix generating changelogs for trees with multiple
+    images.
+
+-------------------------------------------------------------------
+Mon Dec 10 16:33:02 CET 2018 - [email protected]
+
+- add pattern-category also to susedata, not just susedata_i18n
+
+-------------------------------------------------------------------
+Wed Dec  5 14:55:50 UTC 2018 - Adrian Schröter <[email protected]>
+
+- Add pattern-category (fate#323785)
+
+-------------------------------------------------------------------
 Fri Apr  6 10:02:20 UTC 2018 - [email protected]
 
 - add support for transalted EULA
@@ -18,32 +53,32 @@
 -------------------------------------------------------------------
 Fri Jul 28 13:26:40 CEST 2017 - [email protected]
 
-- drop requires for recode 
+- drop requires for recode
 
 -------------------------------------------------------------------
 Tue Jul 26 12:07:52 CEST 2016 - [email protected]
 
 - ABXML: add diskusage data to susedata xml structure
-  (fate#320517) 
+  (fate#320517)
 
 -------------------------------------------------------------------
 Mon May  2 17:46:57 CEST 2016 - [email protected]
 
 - RPMQ: add infrastructure for HEADERSTART and EXTRA
 - create_package_descr: use infrastucture to allow running with
-  only rpm headers instead of full rpms (bnc#978085) 
+  only rpm headers instead of full rpms (bnc#978085)
 
 -------------------------------------------------------------------
 Wed Dec  9 16:01:55 CET 2015 - [email protected]
 
 - update rezip_repo_rsyncable again: fix up filenames if they
   are checksum prefixed, do not change timestamps of the
-  files recompressed (bnc#958511) 
+  files recompressed (bnc#958511)
 
 -------------------------------------------------------------------
 Tue Dec  8 12:10:41 CET 2015 - [email protected]
 
-- rezip_repo_rsyncable: add "-n" option for gzip 
+- rezip_repo_rsyncable: add "-n" option for gzip
 
 -------------------------------------------------------------------
 Tue Oct 27 15:10:49 CET 2015 - [email protected]
@@ -54,46 +89,46 @@
 -------------------------------------------------------------------
 Tue Mar 18 16:40:34 CET 2014 - [email protected]
 
-- update create_package_descr: fix utf8 handling thanks to mls 
+- update create_package_descr: fix utf8 handling thanks to mls
 
 -------------------------------------------------------------------
 Fri Mar 14 02:38:32 CET 2014 - [email protected]
 
 - create_sha1sums: skip content file actions if content file
-  does not exist 
+  does not exist
 
 -------------------------------------------------------------------
 Wed Mar 12 17:56:59 CET 2014 - [email protected]
 
-- fix bogus code in rezip-repo-rsyncable 
+- fix bogus code in rezip-repo-rsyncable
 
 -------------------------------------------------------------------
 Wed Mar  5 14:34:28 CET 2014 - [email protected]
 
-- bump version number and add automatic to pre_checkin.sh 
+- bump version number and add automatic to pre_checkin.sh
 
 -------------------------------------------------------------------
 Tue Mar  4 16:47:58 CET 2014 - [email protected]
 
 - add ABXML.pm and ABStructured.pm
-- rewrite rezip_repo_rsyncable to keep checksum type 
+- rewrite rezip_repo_rsyncable to keep checksum type
 - add requires for perl-XML-Parser
 
 -------------------------------------------------------------------
 Tue Feb 25 15:36:18 CET 2014 - [email protected]
 
-- fix typo in last change 
+- fix typo in last change
 
 -------------------------------------------------------------------
 Wed Feb 19 17:51:38 CET 2014 - [email protected]
 
 - update create_package_descr: also recognize new rpm tags
-  for Suggests and Enhances (thanks to mls for the patch) 
+  for Suggests and Enhances (thanks to mls for the patch)
 
 -------------------------------------------------------------------
 Fri Sep 20 11:57:36 CEST 2013 - [email protected]
 
-- also add Requires(pre) and Requires(post) to Prq sections 
+- also add Requires(pre) and Requires(post) to Prq sections
 
 -------------------------------------------------------------------
 Wed Apr  3 12:03:43 CEST 2013 - [email protected]
@@ -101,13 +136,13 @@
 - remove pdb code from create_package_descr
 - create_sha1sums: replace "which" by "type -p"
 - create_repo_for_patch.sh: same change
-- RPMQ: fix for name-version-release > 64 characters 
+- RPMQ: fix for name-version-release > 64 characters
 
 -------------------------------------------------------------------
 Fri Jan 25 01:23:46 CET 2013 - [email protected]
 
 - use "strict" for create_package_descr
-- add support for -e (eula_dir) parameter in create_package_descr 
+- add support for -e (eula_dir) parameter in create_package_descr
 
 -------------------------------------------------------------------
 Wed Dec  5 13:27:11 CET 2012 - [email protected]
@@ -117,13 +152,13 @@
 -------------------------------------------------------------------
 Thu Sep 13 16:15:54 CEST 2012 - [email protected]
 
-- add recent fixes 
+- add recent fixes
 
 -------------------------------------------------------------------
 Wed Feb 29 10:55:46 CET 2012 - [email protected]
 
 - mk_changelog: calculate time (two years ago) differently to
-  avoid error on leap days. 
+  avoid error on leap days.
 
 -------------------------------------------------------------------
 Thu Feb  2 11:10:39 UTC 2012 - [email protected]
@@ -154,17 +189,17 @@
 -------------------------------------------------------------------
 Thu Apr 28 18:25:28 CEST 2011 - [email protected]
 
-- add option -D to use sha256 checksums in create_package_descr 
+- add option -D to use sha256 checksums in create_package_descr
 
 -------------------------------------------------------------------
 Wed Mar 17 11:52:48 CET 2010 - [email protected]
 
-- add requires to recode 
+- add requires to recode
 
 -------------------------------------------------------------------
 Mon Feb 22 12:11:17 CET 2010 - [email protected]
 
-- create_package_descr: output a little statistic 
+- create_package_descr: output a little statistic
 
 -------------------------------------------------------------------
 Wed Jan 27 14:52:59 UTC 2010 - [email protected]
@@ -174,7 +209,7 @@
 -------------------------------------------------------------------
 Mon Nov  2 13:41:07 CET 2009 - [email protected]
 
-- add rezip_repo_rsyncable 
+- add rezip_repo_rsyncable
 - update create_package_descr:
   - skip deltarpms
   - write comment with cmdline only once
@@ -191,8 +226,8 @@
 -------------------------------------------------------------------
 Mon Oct 12 23:14:14 CEST 2009 - [email protected]
 
-- fix bnc#546152: create_sha1sums fails to find custom gpg-key on 
-  non-english systems  
+- fix bnc#546152: create_sha1sums fails to find custom gpg-key on
+  non-english systems
 - fix create_package_descr to work with delta-rpms in path
 
 -------------------------------------------------------------------
@@ -201,12 +236,12 @@
 - create_package_descr: disable debug output for missing pdb data
 - create_repo_for_patch.sh: complete rework (thanks to Ulf Lange)
   fixes bnc #506357
-- RPMQ.pm: added the following RPM-tags 
-  PRETRANS, POSTTRANS, PRETRANSPROG, POSTTRANSPROG, DISTTAG, 
+- RPMQ.pm: added the following RPM-tags
+  PRETRANS, POSTTRANS, PRETRANSPROG, POSTTRANSPROG, DISTTAG,
   FILEDIGESTALGOS, FILEDIGESTALGO
 - createpatch: first part of the code rewrite is done
   New options: -l|--logfile => write output to logfile
-               -b|--basedir => obsoletes old script behavior 
+               -b|--basedir => obsoletes old script behavior
                -c|--configfile => use options from configfile
 
 -------------------------------------------------------------------
@@ -218,12 +253,12 @@
 -------------------------------------------------------------------
 Fri Mar  6 11:58:45 CET 2009 - [email protected]
 
-- create_package_descr: add -Q option to disable Shr tag 
+- create_package_descr: add -Q option to disable Shr tag
 
 -------------------------------------------------------------------
 Wed Feb 25 11:10:27 CET 2009 - [email protected]
 
-- create_package_descr: more help text for the -T XTAGS_FILE 
+- create_package_descr: more help text for the -T XTAGS_FILE
 - create_sha1sum, create_md5sums - fix bnc#460894: handle multiple
   arguments
 
@@ -236,7 +271,7 @@
 -------------------------------------------------------------------
 Mon Nov 24 15:12:14 CET 2008 - [email protected]
 
-- update create_package_descr 
+- update create_package_descr
 
 -------------------------------------------------------------------
 Mon Nov 24 13:53:46 CET 2008 - [email protected]
@@ -253,7 +288,7 @@
 -------------------------------------------------------------------
 Thu Nov 13 00:14:01 CET 2008 - [email protected]
 
-- mk_listings: exclude .cr-cache and .snapshot 
+- mk_listings: exclude .cr-cache and .snapshot
 
 -------------------------------------------------------------------
 Thu Oct 16 17:54:47 CEST 2008 - [email protected]
@@ -266,7 +301,7 @@
 
 - create_package_descr:
   + add "-V" option to also put the vendor for each rpm in
-  the generated metadata 
+  the generated metadata
 
 -------------------------------------------------------------------
 Thu Oct  9 17:46:48 CEST 2008 - [email protected]
@@ -274,9 +309,9 @@
 - quick fix for bnc#409927:
   - create_sha1sums:
     + create SHA1SUM files and sign them in the slideshow directory
-  - added create_sha1sum which is a copy of create_md5sums 
+  - added create_sha1sum which is a copy of create_md5sums
     (can't use create_sha1sum_s_ as this name is already in use)
-- removed NoSource tags 
+- removed NoSource tags
 
 -------------------------------------------------------------------
 Mon Jul 21 19:02:27 CEST 2008 - [email protected]
@@ -292,7 +327,7 @@
   + EXTRA_REQUIRES_FILE option switched from -p to -r
 - create_repo_for_patch.sh:
   + fix quoting
-- create_sha1sums: 
+- create_sha1sums:
   + added option "-x" to add additional meta files in content file
   + beetter check for repomd.xml
   + added "-n" option to skip re-signing
@@ -302,7 +337,7 @@
 -------------------------------------------------------------------
 Fri May 16 16:52:36 CEST 2008 - [email protected]
 
-- patches upstreamed 
+- patches upstreamed
 
 -------------------------------------------------------------------
 Thu May 15 15:09:25 CEST 2008 - [email protected]
@@ -325,7 +360,7 @@
 -------------------------------------------------------------------
 Wed Sep 26 20:38:37 CEST 2007 - [email protected]
 
-- remove dependency to createrepo for now 
+- remove dependency to createrepo for now
 
 -------------------------------------------------------------------
 Wed Sep 26 12:20:24 CEST 2007 - [email protected]
@@ -337,7 +372,7 @@
 -------------------------------------------------------------------
 Tue Jul 17 02:08:14 CEST 2007 - [email protected]
 
-- createpatch: use CONFIRMATION_FILE as description to make clear, 
+- createpatch: use CONFIRMATION_FILE as description to make clear,
   that this creates a confirmation popup for the user (#205534)
 
 -------------------------------------------------------------------
@@ -347,17 +382,17 @@
   + fix typo in usage
 - create_package_descr:
   + search data in main package for xxbit packages
-  + add license notes as confirmlic so YaST can display them 
+  + add license notes as confirmlic so YaST can display them
     even in plain text mode
 - create_sha1sums: added to generate the SHA1SUMs in content file
 - createpatch:
-  + support "license_to_confirm": add an EULA to the patch, read 
+  + support "license_to_confirm": add an EULA to the patch, read
     from the file specified (see #205534 for details)
   + beautify usage message
   + added @packagelist to condition
 - mk_listings:
   + handle whitespaces in directory names
-  + use --rsyncable as gzip option: `rsync' program can take 
+  + use --rsyncable as gzip option: `rsync' program can take
     advantage of similarities during sync over network
   + replace standard Names (CD,DVD,inst-source)
   + use '--nodigest --nosignature' for rpm queries if supported
@@ -367,7 +402,7 @@
 Tue May 15 15:55:26 CEST 2007 - [email protected]
 
 - added support for adding supplements tag (#262859, #256038)
-- added support for overwriting the default freshens value 
+- added support for overwriting the default freshens value
 - fixed one \" escaping typo
 - do not delete product.xml
 
@@ -379,7 +414,7 @@
 -------------------------------------------------------------------
 Tue Mar 13 12:06:48 CET 2007 - [email protected]
 
-- fixed source again - fixed script, too 
+- fixed source again - fixed script, too
 
 -------------------------------------------------------------------
 Fri Mar  9 10:39:06 CET 2007 - [email protected]
@@ -394,7 +429,7 @@
 -------------------------------------------------------------------
 Mon Feb 26 14:17:43 CET 2007 - [email protected]
 
-- fixed #214273 :  inst-source-utils perl module in subdir of 
+- fixed #214273 :  inst-source-utils perl module in subdir of
   /usr/bin is questionable/ugly
 
 -------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/inst-source-utils-2021.09.09/inst-source-utils.spec 
new/inst-source-utils-2023.11.08/inst-source-utils.spec
--- old/inst-source-utils-2021.09.09/inst-source-utils.spec     2021-09-09 
15:22:58.000000000 +0200
+++ new/inst-source-utils-2023.11.08/inst-source-utils.spec     2023-11-08 
17:57:29.000000000 +0100
@@ -20,18 +20,18 @@
 Summary:        Utilities for creating customized installation sources
 License:        GPL-2.0-or-later
 Group:          System/YaST
-Version:        2018.04.06
+Version:        2023.11.08
 Release:        0
-Url:            http://en.opensuse.org/Inst-source-utils
+Url:            https://en.opensuse.org/Inst-source-utils
 BuildArch:      noarch
 Requires:       gpg2
 Obsoletes:      autoyast2-utils <= 2.14.10
 Provides:       autoyast2-utils = 2.14.10
 Recommends:     create-repo-utils
 Requires:       perl-XML-Parser
+Requires:       zstd
 Source:         %name-%version.tar.xz
 Source1:        split.pl
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Utilities supporting autoinstallation and creation of customized
@@ -53,8 +53,7 @@
 cp -a usr %{buildroot}/
 
 %files
-%doc COPYING
-%defattr(755,root,root,755)
+%license COPYING
 %_bindir/*
 %defattr(644,root,root,755)
 %_datadir/%name
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/inst-source-utils-2021.09.09/usr/bin/create_updateinfo 
new/inst-source-utils-2023.11.08/usr/bin/create_updateinfo
--- old/inst-source-utils-2021.09.09/usr/bin/create_updateinfo  1970-01-01 
01:00:00.000000000 +0100
+++ new/inst-source-utils-2023.11.08/usr/bin/create_updateinfo  2023-11-08 
17:57:29.000000000 +0100
@@ -0,0 +1,121 @@
+#!/usr/bin/perl -w
+use strict;
+
+use Getopt::Long;
+use IO::File;
+use XML::Writer;
+
+my $title = "empty title";
+my $id = "unset";
+my $description = "empty";
+my $severity = "moderate";
+my $type = "recommended";
+my @references = ();
+
+GetOptions (
+       "type=s"        => \$type,
+       "title=s"       => \$title,
+       "id=s"          => \$id,
+       "severity=s"    => \$severity,
+       "description=s" => \$description,
+       "reference=s"   => \@references,
+) or die("Error in command line arguments.\nUsage: $0 --type 
security|recommended --title TITLE --id ID --severity 
low|moderate|important|critical --description MULTILINETEXT --reference 
CVE-YEAR-ID LIST-OF-RPMS");
+
+my %update = ();
+
+my $output = IO::File->new(">output.xml");
+my $writer = XML::Writer->new(OUTPUT => $output, NEWLINES => 1, ENCODING => 
"utf-8");
+
+#  <update from="[email protected]" status="stable" type="recommended" 
version="1">
+$writer->startTag("update",
+       "from" => "maint-coord\@suse.de",
+       "status" => "stable",
+       "type" => $type,
+       "version" => "1"
+);
+
+#    <id>SUSE-SLE-Module-Basesystem-15-SP4-2022-1864</id>
+$writer->dataElement("id",$id);
+#    <title>Recommended update for leveldb</title>
+$writer->dataElement("title",$title);
+#    <severity>low</severity>
+$writer->dataElement("severity",$severity);
+#    <release>SUSE Updates SLE-Module-Basesystem 15-SP4 x86 64</release>
+$writer->dataElement("release","FILLMEIN");
+
+#    <issued date="1653635267"/>
+$writer->dataElement("issueddate",time);
+
+
+if (@references) {
+       #    <references>
+       $writer->startTag("references");
+       #      <reference 
href="https://bugzilla.suse.com/show_bug.cgi?id=1197742"; id="1197742" 
title="FTBFS: leveldb won't compile on SP4" type="bugzilla"/>
+
+       foreach my $xref (@references) {
+               $writer->startTag("reference",
+                       "href" => "https://www.suse.com/security/cve/$xref";,
+                       "id" => $xref,
+                       "title" => "https://www.suse.com/security/cve/$xref";,
+                       "type" => "cve",
+               );
+               $writer->endTag("reference");
+       }
+       #    </references>
+       $writer->endTag("references");
+}
+
+
+#    <description>This update for leveldb fixes the following issue:
+#- fix tests (bsc#1197742)
+#</description>
+
+
+$writer->dataElement("description",$description);
+
+$writer->startTag("pkglist");
+$writer->startTag("collection");
+#    <pkglist>
+#      <collection>
+
+foreach my $pkg (@ARGV) {
+       my $xpkg = $pkg;
+       my $name = -1;
+       my $version = -1;
+       my $release = -1;
+
+       $xpkg =~ s#.*/##;
+
+       $xpkg =~ /^(.*)-([^-]*)-([^-]*)\.[^.]*\.rpm$/;
+
+       $name = $1;
+       $version = $2;
+       $release = $3;
+
+       $writer->startTag("package",
+               "epoch" => "0",
+               "version" => $version,
+               "release" => $release,
+               "name" => $name,
+               "src" => $pkg,
+       );
+               $writer->dataElement("filename",$xpkg);
+       $writer->endTag("package");
+}
+
+#        <package name="leveldb" epoch="0" version="1.18" 
release="150000.3.3.1" arch="src" src="src/leveldb-1.18-150000.3.3.1.src.rpm">
+#          <filename>leveldb-1.18-150000.3.3.1.src.rpm</filename>
+#        </package>
+#        <package name="libleveldb1" epoch="0" version="1.18" 
release="150000.3.3.1" arch="x86_64" 
src="x86_64/libleveldb1-1.18-150000.3.3.1.x86_64.rpm">
+#          <filename>libleveldb1-1.18-150000.3.3.1.x86_64.rpm</filename>
+#        </package>
+#      </collection>
+#    </pkglist>
+$writer->endTag("collection");
+$writer->endTag("pkglist");
+
+#  </update>
+$writer->endTag("update");
+$writer->end();
+$output->close();
+1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/inst-source-utils-2021.09.09/usr/bin/rezip_repo_rsyncable 
new/inst-source-utils-2023.11.08/usr/bin/rezip_repo_rsyncable
--- old/inst-source-utils-2021.09.09/usr/bin/rezip_repo_rsyncable       
2021-09-09 15:22:58.000000000 +0200
+++ new/inst-source-utils-2023.11.08/usr/bin/rezip_repo_rsyncable       
2023-11-08 17:57:29.000000000 +0100
@@ -33,8 +33,8 @@
       $ctx->addfile(*REC);
       my $newfilechksum = $ctx->hexdigest();
       close (REC);
-      if ($filename =~ /^([^\/]*\/)?[0-9a-f][0-9a-f]*-(.*\.gz)$/) {
-       my $new_filename = "$1$newfilechksum-$2";
+      if ($filename =~ /^([^\/]*\/)?[0-9a-f][0-9a-f]*-(.*)\.(gz|zst)$/) {
+       my $new_filename = "$1$newfilechksum-$2.$3";
        rename ("$repobase/$filename","$repobase/$new_filename");
        $filename = $new_filename;
        $record->{'location'}->{'href'} = $filename;
@@ -79,11 +79,23 @@
 unlink ("$tmpdir/fff.gz");
 
 if ( $rsyncable ) {
+  my @ZSTDED = glob("$arg/*.zst");
+  for (@ZSTDED) {
+    system ("touch", "--reference", "$_", "$_.timestamp");
+    system ("zstd", "--rm", "-q", "-d", "-f", $_);
+    $_ =~ s/\.zst$//;
+    # createrepo_c 1.0.0 sets -9 explicitly. as rsyncable adds
+    # a few bytes, we increase to -10, which adds about 18% runtime
+    # but improves 0.9% the compression - which compensates for rsyncable
+    system ("zstd", "--rm", "-q", "-10", "--rsyncable", "-n", $_);
+    system ("touch", "--reference", "$_.zst.timestamp", "$_.zst");
+    unlink ("$_.zst.timestamp");
+  }
   my @GZIPPED = glob("$arg/*.gz");
   for (@GZIPPED) {
     system ("touch", "--reference", "$_", "$_.timestamp");
     system ("gunzip", "-f", $_);
-    $_ =~ s/.gz$//;
+    $_ =~ s/\.gz$//;
     system ("gzip", "-9", "-n", $rsyncable, $_);
     system ("touch", "--reference", "$_.gz.timestamp", "$_.gz");
     unlink ("$_.gz.timestamp");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/inst-source-utils-2021.09.09/usr/share/inst-source-utils/modules/ABXML.pm 
new/inst-source-utils-2023.11.08/usr/share/inst-source-utils/modules/ABXML.pm
--- 
old/inst-source-utils-2021.09.09/usr/share/inst-source-utils/modules/ABXML.pm   
    2021-09-09 15:22:58.000000000 +0200
+++ 
new/inst-source-utils-2023.11.08/usr/share/inst-source-utils/modules/ABXML.pm   
    2023-11-08 17:57:29.000000000 +0100
@@ -192,6 +192,13 @@
                'timestamp',
                'size',
                'open-size',
+               [ 'header-checksum' =>
+                   'type',
+                   '_content',
+               ],
+               [ 'header-size' =>
+                   '_content',
+               ],
                [ 'open-checksum' =>
                    'type',
                    '_content',
@@ -542,9 +549,9 @@
                                'lang',
                                '_content',
                        ],
-                       [ 'rpm:requires' => 
+                       [ 'rpm:requires' =>
                                'pre',
-                               @rpm_entry_2 
+                               @rpm_entry_2
                        ],
                        [ 'suse:freshens' => @suse_entry ],
                ]],
@@ -564,9 +571,9 @@
                                'type',
                                '_content',
                        ],
-                       [ 'rpm:requires' => 
+                       [ 'rpm:requires' =>
                                'pre',
-                               @rpm_entry_2 
+                               @rpm_entry_2
                        ],
                        [ 'suse:freshens' => @suse_entry ],
                ]],

++++++ inst-source-utils.obsinfo ++++++
--- /var/tmp/diff_new_pack.HqCGH6/_old  2023-11-13 22:20:29.966682227 +0100
+++ /var/tmp/diff_new_pack.HqCGH6/_new  2023-11-13 22:20:29.970682374 +0100
@@ -1,6 +1,5 @@
 name: inst-source-utils
-version: 2021.09.09
-mtime: 1631193778
-commit: afc51c5074cd6847d952c5f1fd8df922824c7aa6
-
+version: 2023.11.08
+mtime: 1699462649
+commit: 41d8c58c8f2adb28f82c113d38c68ee50fdb9c84
 

Reply via email to