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:
parent
fbd9545b0a
commit
0af4bd99a0
@ -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>
|
Sun Jan 30 22:59:24 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
10
zstd.spec
10
zstd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package zstd
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Zstd compression library
|
Summary: Zstd compression library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -88,9 +90,9 @@ Needed for compiling programs that link with the library.
|
|||||||
%package gzip
|
%package gzip
|
||||||
Summary: zstd and zlib based gzip drop-in
|
Summary: zstd and zlib based gzip drop-in
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
Conflicts: alternative(gzip)
|
|
||||||
Conflicts: gzip
|
|
||||||
Conflicts: busybox-gzip
|
Conflicts: busybox-gzip
|
||||||
|
Conflicts: gzip
|
||||||
|
Conflicts: alternative(gzip)
|
||||||
Provides: gzip
|
Provides: gzip
|
||||||
Provides: alternative(gzip)
|
Provides: alternative(gzip)
|
||||||
Requires: %{name} >= %{version}
|
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
|
install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1
|
||||||
ln -s zstd %{buildroot}/%{_bindir}/gzip
|
ln -s zstd %{buildroot}/%{_bindir}/gzip
|
||||||
ln -s zstd %{buildroot}/%{_bindir}/gunzip
|
ln -s zstd %{buildroot}/%{_bindir}/gunzip
|
||||||
|
ln -s zstdcat %{buildroot}/%{_bindir}/zcat
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
@ -159,5 +162,6 @@ ln -s zstd %{buildroot}/%{_bindir}/gunzip
|
|||||||
%files gzip
|
%files gzip
|
||||||
%{_bindir}/gzip
|
%{_bindir}/gzip
|
||||||
%{_bindir}/gunzip
|
%{_bindir}/gunzip
|
||||||
|
%{_bindir}/zcat
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user