summaryrefslogtreecommitdiffstats
path: root/libzip.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-06-27 10:01:49 +0200
committerRemi Collet <remi@php.net>2023-06-27 10:01:49 +0200
commit8764aaf2d8ffb232c1dcd4dcada29097b5b97223 (patch)
treeccd42bb639cf40cbb39a93f9c379a6b42708f426 /libzip.spec
parent717ac8e09abedd2bac7f67343c0528f0cff390a0 (diff)
add upstream patch for tests
Diffstat (limited to 'libzip.spec')
-rw-r--r--libzip.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/libzip.spec b/libzip.spec
index cb00eaa..2d0d57a 100644
--- a/libzip.spec
+++ b/libzip.spec
@@ -50,6 +50,9 @@ License: BSD-3-Clause
URL: https://libzip.org/
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
+# Upstream patch
+Patch0: libzip-tests.patch
+
BuildRequires: gcc
BuildRequires: zlib-devel >= 1.1.2
BuildRequires: bzip2-devel
@@ -164,6 +167,8 @@ The %{name}-tools package provides command line tools split off %{name}:
%setup -q -n %{libname}-%{version}
: ========== BUILD in %{_prefix} ==========
+%patch -P0 -p1 -b .upstream
+
# unwanted in package documentation
rm INSTALL.md