diff --git a/zstd.changes b/zstd.changes index 4e69643..40978de 100644 --- a/zstd.changes +++ b/zstd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jan 3 09:03:22 UTC 2023 - Dirk Müller + +- add zcat in zstd-gzip (needed by for example the kernel scripts) + ------------------------------------------------------------------- Sun Jan 30 22:59:24 UTC 2022 - Dirk Müller diff --git a/zstd.spec b/zstd.spec index 0dcdd33..534619b 100644 --- a/zstd.spec +++ b/zstd.spec @@ -1,7 +1,7 @@ # # spec file for package zstd # -# 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 @@ -50,7 +50,9 @@ compression for same ratio, or ~1–4%% size reduction for same time. + # This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html + %package -n %{libname} Summary: Zstd compression library Group: System/Libraries @@ -88,9 +90,9 @@ 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 +Conflicts: gzip +Conflicts: alternative(gzip) Provides: gzip Provides: alternative(gzip) Requires: %{name} >= %{version} @@ -127,6 +129,7 @@ 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 +ln -s zstdcat %{buildroot}/%{_bindir}/zcat %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig @@ -159,5 +162,6 @@ ln -s zstd %{buildroot}/%{_bindir}/gunzip %files gzip %{_bindir}/gzip %{_bindir}/gunzip +%{_bindir}/zcat %changelog