b8202fc
@@ -139,7 +139,7 @@
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
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/
Properly fixed by https://src.fedoraproject.org/rpms/php/c/e4fe8080e5416f5c676c05df37edb030488eaf20?branch=master
Pull-Request has been closed by remi
I'm confused, why aren't we specifying pkgconfig(libzip) as a build requirement? Is it no longer necessary?
pkgconfig(libzip)
zip extension is a separate package for years (php-pecl-zip)
Ah yes, thanks for clarifying.
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/