summaryrefslogtreecommitdiffstats
path: root/libzip.spec
diff options
context:
space:
mode:
Diffstat (limited to 'libzip.spec')
-rw-r--r--libzip.spec36
1 files changed, 16 insertions, 20 deletions
diff --git a/libzip.spec b/libzip.spec
index caad60f..cb00eaa 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -19,7 +19,10 @@
%global libname libzip
%global soname 5
-%bcond_without tests
+
+# missing nihtest
+# see https://bugzilla.redhat.com/show_bug.cgi?id=2217257
+%bcond_with tests
%if 0%{?vendeur:1} && 0%{?rhel} >= 8
%bcond_without move_to_opt
@@ -39,11 +42,11 @@ Name: %{libname}
%endif
%endif
-Version: 1.9.2
-Release: 3%{?dist}
+Version: 1.10.0
+Release: 1%{?dist}
Summary: C library for reading, creating, and modifying zip archives
-License: BSD
+License: BSD-3-Clause
URL: https://libzip.org/
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
@@ -56,24 +59,14 @@ BuildRequires: xz-devel >= 5.2
BuildRequires: libzstd-devel >= 1.3.6
Requires: libzstd%{?_isa} >= 1.3.6
%if 0%{?rhel} == 7
-BuildRequires: cmake3 >= 3.0.2
+BuildRequires: cmake3 >= 3.4
%else
-BuildRequires: cmake >= 3.0.2
+BuildRequires: cmake >= 3.4
+%endif
+BuildRequires: mandoc
+%if %{with tests}
+BuildRequires: python3-nihtest
%endif
-# Needed to run the test suite
-# find regress/ -type f | /usr/lib/rpm/perl.req
-# find regress/ -type f | /usr/lib/rpm/perl.prov
-BuildRequires: perl
-BuildRequires: perl(Cwd)
-BuildRequires: perl(File::Copy)
-BuildRequires: perl(File::Path)
-BuildRequires: perl(Getopt::Long)
-BuildRequires: perl(IPC::Open3)
-BuildRequires: perl(Storable)
-BuildRequires: perl(Symbol)
-BuildRequires: perl(UNIVERSAL)
-BuildRequires: perl(strict)
-BuildRequires: perl(warnings)
%if 0%{?rhel} == 7
# RHEL have commands in main package
@@ -284,6 +277,9 @@ make check
%changelog
+* Fri Jun 23 2023 Remi Collet <remi@remirepo.net> - 1.10.0-1
+- update to 1.10.0
+
* Wed Jun 29 2022 Remi Collet <remi@remirepo.net> - 1.9.2-3
- switch to libzip5 on EL-7
- re-add obsoletes and provides filtering