Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zstd for openSUSE:Factory checked in 
at 2022-02-07 23:36:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zstd (Old)
 and      /work/SRC/openSUSE:Factory/.zstd.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zstd"

Mon Feb  7 23:36:49 2022 rev:28 rq:952093 version:1.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/zstd/zstd.changes        2022-01-07 
12:45:49.587822343 +0100
+++ /work/SRC/openSUSE:Factory/.zstd.new.1898/zstd.changes      2022-02-07 
23:36:51.742941600 +0100
@@ -1,0 +2,19 @@
+Sun Jan 30 22:59:24 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- enable zlib/gzip compatible backend, as zlib is significantly
+  (50%-100%) faster than gzip
+- add zstd-gzip compatibility subpackage which can be used
+  as a drop in compatible replacement for gzip
+- small spec file cleanups
+
+-------------------------------------------------------------------
+Fri Jan 21 04:53:08 UTC 2022 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- update to 1.5.2:
+  * correct a performance regression
+  * smaller improvements and fixes
+  * See https://github.com/facebook/zstd/releases/tag/v1.5.2
+- Refresh pzstd.1.patch
+- Drop upstream noexecstack.patch
+
+-------------------------------------------------------------------

Old:
----
  noexecstack.patch
  zstd-1.5.1.tar.gz
  zstd-1.5.1.tar.gz.sig

New:
----
  zstd-1.5.2.tar.gz
  zstd-1.5.2.tar.gz.sig

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

Other differences:
------------------
++++++ zstd.spec ++++++
--- /var/tmp/diff_new_pack.BlVRqx/_old  2022-02-07 23:36:52.342937562 +0100
+++ /var/tmp/diff_new_pack.BlVRqx/_new  2022-02-07 23:36:52.346937534 +0100
@@ -16,10 +16,9 @@
 #
 
 
-%define major 1
-%define libname lib%{name}%{major}
+%define libname libzstd1
 Name:           zstd
-Version:        %{major}.5.1
+Version:        1.5.2
 Release:        0
 Summary:        Zstandard compression tools
 License:        BSD-3-Clause AND GPL-2.0-only
@@ -30,12 +29,12 @@
 Source2:        zstd.keyring
 Source99:       baselibs.conf
 Patch1:         pzstd.1.patch
-# Cherry-pick from https://github.com/facebook/zstd/pull/2964
-Patch2:         
https://github.com/facebook/zstd/commit/9a9d1ec6f4536ffeb745f360ef010cefd125bfd0.patch#/noexecstack.patch
 BuildRequires:  gcc
 # C++ is needed for pzstd only
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
+# for .gz support
+BuildRequires:  pkgconfig(zlib)
 
 %description
 Zstd, short for Zstandard, is a lossless compression algorithm. Speed
@@ -86,15 +85,32 @@
 
 Needed for compiling programs that link with the library.
 
+%package gzip
+Summary:        zstd and zlib based gzip drop-in
+Group:          Productivity/Archiving/Compression
+Conflicts:      alternative(gzip)
+Conflicts:      gzip
+Conflicts:      busybox-gzip
+Provides:       gzip
+Provides:       alternative(gzip)
+Requires:       %{name} >= %{version}
+
+%description gzip
+Zstd, short for Zstandard, is a lossless compression algorithm,
+targeting faster compression than zlib at comparable ratios.
+
+This subpackage provides a compatible alternative to gzip(1) using
+an optimized deflate/zlib handling.
+
 %prep
 %autosetup -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 export CFLAGS="%{optflags}"
-export CXXFLAGS="$CFLAGS -std=c++11"
+export CXXFLAGS="%{optflags} -std=c++11"
 # lib-mt is alias for multi-threaded library support
-%make_build prefix=%{_prefix} libdir=%{_libdir} -C lib lib-mt
+%make_build HAVE_ZLIB=1 prefix=%{_prefix} libdir=%{_libdir} -C lib lib-mt
 for dir in programs contrib/pzstd; do
   %make_build -C "$dir"
 done
@@ -103,22 +119,33 @@
 export CFLAGS="%{optflags}"
 export CXXFLAGS="%{optflags} -std=c++11"
 %make_build -C tests test-zstd
-#make %{?_smp_mflags} -C contrib/pzstd test-pzstd
+#make_build -C contrib/pzstd test-pzstd
 
 %install
 %make_install V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir}
 install -D -m755 contrib/pzstd/pzstd %{buildroot}%{_bindir}/pzstd
 install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1
+ln -s zstd %{buildroot}/%{_bindir}/gzip
+ln -s zstd %{buildroot}/%{_bindir}/gunzip
+
+%post -n %{libname} -p /sbin/ldconfig
+%postun -n %{libname} -p /sbin/ldconfig
 
 %files
 %license COPYING LICENSE
 %doc README.md CHANGELOG
-%{_bindir}/*
+%{_bindir}/pzstd
+%{_bindir}/unzstd
+%{_bindir}/zstd
+%{_bindir}/zstdcat
+%{_bindir}/zstdgrep
+%{_bindir}/zstdless
+%{_bindir}/zstdmt
 %{_mandir}/man1/*.1%{?ext_man}
 
 %files -n %{libname}
 %license COPYING LICENSE
-%{_libdir}/libzstd.so.*
+%{_libdir}/libzstd.so.1*
 
 %files -n lib%{name}-devel
 %license COPYING LICENSE
@@ -127,10 +154,10 @@
 %{_libdir}/libzstd.so
 
 %files -n lib%{name}-devel-static
-%license COPYING LICENSE
 %{_libdir}/libzstd.a
 
-%post -n %{libname} -p /sbin/ldconfig
-%postun -n %{libname} -p /sbin/ldconfig
+%files gzip
+%{_bindir}/gzip
+%{_bindir}/gunzip
 
 %changelog

++++++ pzstd.1.patch ++++++
--- /var/tmp/diff_new_pack.BlVRqx/_old  2022-02-07 23:36:52.386937265 +0100
+++ /var/tmp/diff_new_pack.BlVRqx/_new  2022-02-07 23:36:52.386937265 +0100
@@ -1,11 +1,11 @@
-Index: zstd-1.5.1/programs/zstd.1
+Index: zstd-1.5.2/programs/zstd.1
 ===================================================================
---- zstd-1.5.1.orig/programs/zstd.1
-+++ zstd-1.5.1/programs/zstd.1
-@@ -147,6 +147,12 @@ If input directory contains "\.\.", the
- .IP "\[ci]" 4
- \fB\-\-\fR: All arguments after \fB\-\-\fR are treated as files
+--- zstd-1.5.2.orig/programs/zstd.1
++++ zstd-1.5.2/programs/zstd.1
+@@ -217,6 +217,12 @@ If input directory contains "\.\.", the
+ .
  .IP "" 0
+ .
 +.SS Parallel Zstd OPTIONS
 +Additional options for the pzstd utility
 +.TP
@@ -14,5 +14,5 @@
 +.
  .SS "Restricted usage of Environment Variables"
  Using environment variables to set parameters has security implications\. 
Therefore, this avenue is intentionally restricted\. Only \fBZSTD_CLEVEL\fR and 
\fBZSTD_NBTHREADS\fR are currently supported\. They set the compression level 
and number of threads to use during compression, respectively\.
- .P
+ .
 

++++++ zstd-1.5.1.tar.gz -> zstd-1.5.2.tar.gz ++++++
++++ 3848 lines of diff (skipped)

Reply via email to