public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: Build require pkgconfig(libzip)
@ 2026-11-27  7:30 Carl George
  0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-11-27  7:30 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/php
            Branch : private-php86
            Commit : 0bcc29b45e2a5c3e39158bde79480d321587b872
            Author : Carl George <carl@george.computer>
            Date   : 2020-01-14T14:53:39+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/php/c/0bcc29b45e2a5c3e39158bde79480d321587b872?branch=private-php86

            Log:
            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/

---
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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:30 [rpms/php] private-php86: Build require pkgconfig(libzip) Carl George

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox