Accepting request 1046519 from home:dirkmueller:Factory

- add zcat in zstd-gzip (needed by for example the kernel scripts)

OBS-URL: https://build.opensuse.org/request/show/1046519
OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=77
This commit is contained in:
Martin Pluskal 2023-01-04 08:01:28 +00:00 committed by Git OBS Bridge
parent fbd9545b0a
commit 0af4bd99a0
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 3 09:03:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add zcat in zstd-gzip (needed by for example the kernel scripts)
-------------------------------------------------------------------
Sun Jan 30 22:59:24 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -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 ~14%% 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