Hello community,

here is the log from the commit of package obs-service-recompress for 
openSUSE:Factory checked in at 2020-01-27 00:21:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-recompress (Old)
 and      /work/SRC/openSUSE:Factory/.obs-service-recompress.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "obs-service-recompress"

Mon Jan 27 00:21:06 2020 rev:15 rq:766573 version:0.4.0+git20200123.696d003

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/obs-service-recompress/obs-service-recompress.changes
    2017-10-17 01:50:18.716635282 +0200
+++ 
/work/SRC/openSUSE:Factory/.obs-service-recompress.new.26092/obs-service-recompress.changes
 2020-01-27 00:21:20.765450344 +0100
@@ -1,0 +2,12 @@
+Thu Jan 23 08:44:27 UTC 2020 - adr...@suse.de
+
+- Update to version 0.4.0+git20200123.696d003:
+  * run test suite during build
+
+-------------------------------------------------------------------
+Thu Jan 23 08:34:09 UTC 2020 - adr...@suse.de
+
+- Update to version 0.4.0+git20200123.946b23f:
+  * add zstd compression support
+
+-------------------------------------------------------------------

Old:
----
  obs-service-recompress-0.3.1+git20170704.59bf231.tar.gz

New:
----
  obs-service-recompress-0.4.0+git20200123.696d003.tar.gz

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

Other differences:
------------------
++++++ obs-service-recompress.spec ++++++
--- /var/tmp/diff_new_pack.M2OMXZ/_old  2020-01-27 00:21:22.893452160 +0100
+++ /var/tmp/diff_new_pack.M2OMXZ/_new  2020-01-27 00:21:22.893452160 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package obs-service-recompress
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,28 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define service recompress
 
 Name:           obs-service-%{service}
-Version:        0.3.1+git20170704.59bf231
+Version:        0.4.0+git20200123.696d003
 Release:        0
 Summary:        An OBS source service: Recompress files
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Development/Tools/Building
 Url:            https://github.com/openSUSE/obs-service-%{service}
 Source:         %{name}-%{version}.tar.gz
+BuildRequires:  bzip2
+BuildRequires:  gzip
+BuildRequires:  xz
+BuildRequires:  zstd
 Requires:       bzip2
 Requires:       gzip
 Requires:       xz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       zstd
 BuildArch:      noarch
 
 %description
@@ -41,6 +45,7 @@
  gz   : Gzip Compression
  bz2  : Bzip2 Compression
  xz   : XZ Compression
+ zstd : Zstd Compression
 
 
 %prep
@@ -51,6 +56,9 @@
 %install
 %makeinstall
 
+%check
+make test
+
 %files
 %defattr(-,root,root)
 %dir %{_prefix}/lib/obs

++++++ PKGBUILD ++++++
--- /var/tmp/diff_new_pack.M2OMXZ/_old  2020-01-27 00:21:22.921452185 +0100
+++ /var/tmp/diff_new_pack.M2OMXZ/_new  2020-01-27 00:21:22.921452185 +0100
@@ -1,12 +1,12 @@
 pkgname=obs-service-recompress
-pkgver=0.3.1+git20170704.59bf231
+pkgver=0.4.0+git20200123.696d003
 pkgrel=0
 pkgdesc="An OBS source service: Recompress files"
 arch=('i686' 'x86_64')
 url="https://www.github.com/openSUSE/obs-service-recompress";
 license=('GPL-2.0+' 'GPL-2.0')
 groups=('base-devel')
-depends=('python')
+depends=('gzip', 'bzip2', 'xz', 'zstd')
 source=(obs-service-recompress-${pkgver}.tar.gz)
 md5sums=('SKIP')
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.M2OMXZ/_old  2020-01-27 00:21:22.941452201 +0100
+++ /var/tmp/diff_new_pack.M2OMXZ/_new  2020-01-27 00:21:22.945452204 +0100
@@ -2,7 +2,6 @@
   <service mode="disabled" name="tar_scm">
     <param 
name="url">g...@github.com:openSUSE/obs-service-recompress.git</param>
     <param name="scm">git</param>
-    <param name="exclude">.git</param>
     <param name="version">git-master</param>
     <param name="versionformat">@PARENT_TAG@+git%cd.%h</param>
     <param name="revision">master</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.M2OMXZ/_old  2020-01-27 00:21:22.961452218 +0100
+++ /var/tmp/diff_new_pack.M2OMXZ/_new  2020-01-27 00:21:22.965452222 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
             <param 
name="url">g...@github.com:openSUSE/obs-service-recompress.git</param>
-          <param 
name="changesrevision">e79e48c8d95b85a2d1fbd47d365b3a287441cfc8</param></service></servicedata>
\ No newline at end of file
+          <param 
name="changesrevision">696d003be1c1ac48e4a77dedb4e594c794a301fe</param></service></servicedata>
\ No newline at end of file

++++++ debian.dsc ++++++
--- /var/tmp/diff_new_pack.M2OMXZ/_old  2020-01-27 00:21:22.985452239 +0100
+++ /var/tmp/diff_new_pack.M2OMXZ/_new  2020-01-27 00:21:22.985452239 +0100
@@ -1,6 +1,6 @@
 Format: 1.0
 Source: obs-service-recompress
-Version: 0.3.1+git20170704.59bf231-0
+Version: 0.4.0+git20200123.696d003-0
 Binary: obs-service-recompress
 Maintainer: Adrian Schroeter <adr...@suse.de>
 Architecture: all

++++++ obs-service-recompress-0.3.1+git20170704.59bf231.tar.gz -> 
obs-service-recompress-0.4.0+git20200123.696d003.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-recompress-0.3.1+git20170704.59bf231/README.md 
new/obs-service-recompress-0.4.0+git20200123.696d003/README.md
--- old/obs-service-recompress-0.3.1+git20170704.59bf231/README.md      
2017-07-04 11:10:25.000000000 +0200
+++ new/obs-service-recompress-0.4.0+git20200123.696d003/README.md      
2020-01-23 09:43:43.000000000 +0100
@@ -6,6 +6,7 @@
 * gz   : Gzip Compression
 * bz2  : Bzip2 Compression
 * xz   : XZ Compression
+* zstd : Zstd Compression
 
 This is the git repository for 
[openSUSE:Tools/obs-service-recompress](https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-recompress).
 The authoritative source is https://github.com/openSUSE/obs-service-recompress
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-recompress-0.3.1+git20170704.59bf231/debian/control 
new/obs-service-recompress-0.4.0+git20200123.696d003/debian/control
--- old/obs-service-recompress-0.3.1+git20170704.59bf231/debian/control 
2017-07-04 11:10:25.000000000 +0200
+++ new/obs-service-recompress-0.4.0+git20200123.696d003/debian/control 
2020-01-23 09:43:43.000000000 +0100
@@ -8,7 +8,7 @@
 
 Package: obs-service-recompress
 Architecture: all
-Depends: ${misc:Depends}, bzip2, gzip, xz-utils
+Depends: ${misc:Depends}, bzip2, gzip, xz-utils, zstd
 Description: An OBS source service: Recompress files
  This is a source service for openSUSE Build Service.
  It supports to compress, uncompress or recompress files from or to
@@ -16,3 +16,4 @@
   gz   : Gzip Compression
   bz2  : Bzip2 Compression
   xz   : XZ Compression
+  zstd : Zstd Compression
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-recompress-0.3.1+git20170704.59bf231/dist/obs-service-recompress.spec
 
new/obs-service-recompress-0.4.0+git20200123.696d003/dist/obs-service-recompress.spec
--- 
old/obs-service-recompress-0.3.1+git20170704.59bf231/dist/obs-service-recompress.spec
       2017-07-04 11:10:25.000000000 +0200
+++ 
new/obs-service-recompress-0.4.0+git20200123.696d003/dist/obs-service-recompress.spec
       2020-01-23 09:43:43.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package obs-service-recompress
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,28 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define service recompress
 
 Name:           obs-service-%{service}
-Version:        0.3.1+git20160217.7897d3f
+Version:        0.4.0+git20200123.946b23f
 Release:        0
 Summary:        An OBS source service: Recompress files
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Development/Tools/Building
 Url:            https://github.com/openSUSE/obs-service-%{service}
 Source:         %{name}-%{version}.tar.gz
+BuildRequires:  bzip2
+BuildRequires:  gzip
+BuildRequires:  xz
+BuildRequires:  zstd
 Requires:       bzip2
 Requires:       gzip
 Requires:       xz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires:       zstd
 BuildArch:      noarch
 
 %description
@@ -41,6 +45,7 @@
  gz   : Gzip Compression
  bz2  : Bzip2 Compression
  xz   : XZ Compression
+ zstd : Zstd Compression
 
 
 %prep
@@ -51,6 +56,9 @@
 %install
 %makeinstall
 
+%check
+make test
+
 %files
 %defattr(-,root,root)
 %dir %{_prefix}/lib/obs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-recompress-0.3.1+git20170704.59bf231/recompress 
new/obs-service-recompress-0.4.0+git20200123.696d003/recompress
--- old/obs-service-recompress-0.3.1+git20170704.59bf231/recompress     
2017-07-04 11:10:25.000000000 +0200
+++ new/obs-service-recompress-0.4.0+git20200123.696d003/recompress     
2020-01-23 09:43:43.000000000 +0100
@@ -69,6 +69,9 @@
   elif [ "${FILE%.xz}" != "$FILE" ]; then
     UNCOMPRESS="xz -dc"
     BASENAME="${FILE%.xz}"
+  elif [ "${FILE%.zst}" != "$FILE" ]; then
+    UNCOMPRESS="zstdcat"
+    BASENAME="${FILE%.zst}"
   fi
 
   if [ "$MYCOMPRESSION" == "gz" ]; then
@@ -80,6 +83,9 @@
   elif [ "$MYCOMPRESSION" == "xz" ]; then
     COMPRESS="xz -c -"
     NEWFILE="${BASENAME#_service:}.xz"
+  elif [ "$MYCOMPRESSION" == "zstd" -o "$MYCOMPRESSION" == "zst" ]; then
+    COMPRESS="zstd -c -"
+    NEWFILE="${BASENAME#_service:}.zst"
   elif [ "$MYCOMPRESSION" == "none" ]; then
     COMPRESS="cat -"
     NEWFILE="${BASENAME#_service:}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-recompress-0.3.1+git20170704.59bf231/recompress.service 
new/obs-service-recompress-0.4.0+git20200123.696d003/recompress.service
--- old/obs-service-recompress-0.3.1+git20170704.59bf231/recompress.service     
2017-07-04 11:10:25.000000000 +0200
+++ new/obs-service-recompress-0.4.0+git20200123.696d003/recompress.service     
2020-01-23 09:43:43.000000000 +0100
@@ -5,6 +5,7 @@
  gz   : Gzip Compression
  bz2  : Bzip2 Compression
  xz   : XZ Compression
+ zstd : Zstd Compression
 </description>
   <parameter name="compression">
     <description>Used compression</description>
@@ -12,6 +13,7 @@
     <allowedvalue>gz</allowedvalue>
     <allowedvalue>bz2</allowedvalue>
     <allowedvalue>xz</allowedvalue>
+    <allowedvalue>zstd</allowedvalue>
     <required/>
   </parameter>
   <parameter name="file">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/obs-service-recompress-0.3.1+git20170704.59bf231/t/000_base.t 
new/obs-service-recompress-0.4.0+git20200123.696d003/t/000_base.t
--- old/obs-service-recompress-0.3.1+git20170704.59bf231/t/000_base.t   
2017-07-04 11:10:25.000000000 +0200
+++ new/obs-service-recompress-0.4.0+git20200123.696d003/t/000_base.t   
2020-01-23 09:43:43.000000000 +0100
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 use FindBin;
-use Test::More tests => 8;
+use Test::More tests => 10;
 use File::Copy;
 use Data::Dumper;
 
@@ -22,9 +22,10 @@
 # none         gz
 # gz           bz2
 # bz2          xz
-# xz           none
+# xz           zst
+# zst          none
 
-for my $tc (qw/ gz bz2 xz none/ ) {
+for my $tc (qw/ gz bz2 xz zst none/ ) {
 
        my $in_file = "$test_file".( ($last_ext) ? ".$last_ext" : '' );
        my $out_file = "$temp_dir/$test_file".( ($tc ne 'none') ? ".$tc" : '' );


Reply via email to