From 0bcc29b45e2a5c3e39158bde79480d321587b872 Mon Sep 17 00:00:00 2001 From: Carl George Date: Tue, 24 Dec 2019 00:48:52 +0000 Subject: [PATCH] Build require pkgconfig(libzip) Per package guidelines, packages that use pkgconfig to build against a library should express their build requirement as such. https://github.com/php/php-src/blob/php-7.4.1/ext/zip/config.m4#L7 https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/ --- php.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php.spec b/php.spec index b49e55c..af6262d 100644 --- a/php.spec +++ b/php.spec @@ -139,7 +139,7 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: libtool-ltdl-devel -BuildRequires: libzip-devel >= 0.11 +BuildRequires: pkgconfig(libzip) >= 0.11 BuildRequires: systemtap-sdt-devel # used for tests BuildRequires: %{_bindir}/ps