summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-06-21 15:20:51 +0200
committerRemi Collet <remi@remirepo.net>2021-06-21 15:20:51 +0200
commitd44e129f8673f450d06443c0ea2de76cda3e56c5 (patch)
tree2dbe4f5e1144b9d9d08f20bbc977df41fe6fe9e0
parent343a1577e12805d47eee74e4310f8b34ba0f9899 (diff)
ensure libzstd >= 1.3.6 is used
-rw-r--r--libzip.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/libzip.spec b/libzip.spec
index f49fbbf..386d1be 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -20,7 +20,7 @@ Name: %{?scl_prefix}%{libname}
Name: %{libname}%{soname}
%endif
Version: 1.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C library for reading, creating, and modifying zip archives
License: BSD
@@ -32,7 +32,9 @@ BuildRequires: zlib-devel >= 1.1.2
BuildRequires: bzip2-devel
BuildRequires: openssl-devel
BuildRequires: xz-devel >= 5.2
-BuildRequires: libzstd-devel
+# for ZSTD_minCLevel
+BuildRequires: libzstd-devel >= 1.3.6
+Requires: libzstd%{?_isa} >= 1.3.6
%if 0%{?rhel} == 6 || 0%{?rhel} == 7
BuildRequires: cmake3 >= 3.0.2
%else
@@ -213,6 +215,9 @@ make check
%changelog
+* Mon Jun 21 2021 Remi Collet <remi@remirepo.net> - 1.8.0-2
+- ensure libzstd >= 1.3.6 is used
+
* Sat Jun 19 2021 Remi Collet <remi@remirepo.net> - 1.8.0-1
- update to 1.8.0
- enable zstd compression support