Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zstd for openSUSE:Factory checked in at 2024-01-12 23:44:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zstd (Old) and /work/SRC/openSUSE:Factory/.zstd.new.21961 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zstd" Fri Jan 12 23:44:01 2024 rev:35 rq:1138092 version:1.5.5 Changes: -------- --- /work/SRC/openSUSE:Factory/zstd/zstd.changes 2023-05-28 19:22:10.828725679 +0200 +++ /work/SRC/openSUSE:Factory/.zstd.new.21961/zstd.changes 2024-01-12 23:44:03.235583054 +0100 @@ -1,0 +2,5 @@ +Fri Dec 29 13:21:02 UTC 2023 - ecsos <[email protected]> + +- Disable build of gzip for Leap 15.x to fix build error. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zstd.spec ++++++ --- /var/tmp/diff_new_pack.prNeJE/_old 2024-01-12 23:44:04.339623462 +0100 +++ /var/tmp/diff_new_pack.prNeJE/_new 2024-01-12 23:44:04.343623609 +0100 @@ -16,6 +16,11 @@ # +%if 0%{?suse_version} <= 1500 +%define with_gzip 0 +%else +%define with_gzip 1 +%endif %define libname libzstd1 Name: zstd Version: 1.5.5 @@ -83,6 +88,7 @@ Needed for compiling programs that link with the library. +%if %with_gzip %package gzip Summary: zstd and zlib based gzip drop-in Group: Productivity/Archiving/Compression @@ -99,6 +105,7 @@ This subpackage provides a compatible alternative to gzip(1) using an optimized deflate/zlib handling. +%endif %prep %autosetup -p1 @@ -123,9 +130,11 @@ %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 +%if %with_gzip ln -s zstd %{buildroot}/%{_bindir}/gzip ln -s zstd %{buildroot}/%{_bindir}/gunzip ln -s zstdcat %{buildroot}/%{_bindir}/zcat +%endif %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig @@ -155,8 +164,10 @@ %files -n lib%{name}-devel-static %{_libdir}/libzstd.a +%if %with_gzip %files gzip %{_bindir}/gzip %{_bindir}/gunzip %{_bindir}/zcat +%endif
