- Update to v1.1.4
See https://github.com/facebook/zstd/releases for details. - Drop zstd-lib-no-rebuild.patch OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
67dc42a6d7
commit
0cf01c37bd
26
zstd.spec
26
zstd.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zstd
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,20 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
Name: zstd
|
||||
%define major 1
|
||||
%define libname lib%{name}%{major}
|
||||
Version: %{major}.1.1
|
||||
Name: zstd
|
||||
Version: %{major}.1.4
|
||||
Release: 0
|
||||
Summary: Zstandard compression tools
|
||||
License: BSD-3-Clause and MIT
|
||||
Group: Productivity/Archiving/Compression
|
||||
Url: https://github.com/facebook/zstd
|
||||
Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
# PATCH-FIX-UPSTREAM -- https://github.com/pixelb/zstd/pull/1
|
||||
Patch0: zstd-lib-no-rebuild.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -66,11 +62,9 @@ targeting real-time compression scenarios at zlib-level compression ratio.
|
||||
|
||||
Needed for compiling programs that link with the library.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
find -name .gitignore -delete
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
for dir in lib programs; do
|
||||
@@ -87,12 +81,14 @@ rm %{buildroot}/%{_libdir}/libzstd.a
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc NEWS README.md
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/un%{name}
|
||||
%{_bindir}/%{name}cat
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{_mandir}/man1/un%{name}.1*
|
||||
%{_mandir}/man1/%{name}cat.1*
|
||||
%{_bindir}/zstd
|
||||
%{_bindir}/zstdcat
|
||||
%{_bindir}/zstdgrep
|
||||
%{_bindir}/zstdless
|
||||
%{_bindir}/unzstd
|
||||
%{_mandir}/man1/zstd.1*
|
||||
%{_mandir}/man1/unzstd.1*
|
||||
%{_mandir}/man1/zstdcat.1*
|
||||
%doc LICENSE PATENTS
|
||||
|
||||
%files -n %{libname}
|
||||
|
Reference in New Issue
Block a user