summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libzip.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/libzip.spec b/libzip.spec
index 4ecb0ec..3fa5d03 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -29,13 +29,15 @@ Name: %{libname}%{soname}
%endif
Version: 1.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C library for reading, creating, and modifying zip archives
License: BSD
URL: https://libzip.org/
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
+Patch0: libzip-upstream.patch
+
BuildRequires: gcc
BuildRequires: zlib-devel >= 1.1.2
BuildRequires: bzip2-devel
@@ -142,6 +144,7 @@ The %{name}-tools package provides command line tools split off %{name}:
%prep
%setup -q -n %{libname}-%{version}
+%patch0 -p1
# unwanted in package documentation
rm INSTALL.md
@@ -252,6 +255,11 @@ make check
%changelog
+* Tue Jun 28 2022 Remi Collet <remi@remirepo.net> - 1.9.0-2
+- add upstream patch for zip_file_is_seekable reported as
+ https://github.com/nih-at/libzip/issues/297
+ https://github.com/nih-at/libzip/issues/301
+
* Tue Jun 14 2022 Remi Collet <remi@remirepo.net> - 1.9.0-1
- update to 1.9.0