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/
This commit is contained in:
Carl George 2019-12-24 00:48:52 +00:00 committed by Remi Collet
parent 1beefce5cc
commit 0bcc29b45e

View File

@ -139,7 +139,7 @@ BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libtool-ltdl-devel BuildRequires: libtool-ltdl-devel
BuildRequires: libzip-devel >= 0.11 BuildRequires: pkgconfig(libzip) >= 0.11
BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-sdt-devel
# used for tests # used for tests
BuildRequires: %{_bindir}/ps BuildRequires: %{_bindir}/ps