public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] rawhide: Don't provide "php-devel" to avoid best provider for extension BuildRequires
@ 2026-06-23  8:10 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-06-23  8:10 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : rawhide
Commit : 95e4f6eaca99cc328c08b10bb3969ac99a1d637b
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2026-06-23T10:10:15+02:00
Stats  : +5/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/95e4f6eaca99cc328c08b10bb3969ac99a1d637b?branch=rawhide

Log:
Don't provide "php-devel" to avoid best provider for extension BuildRequires

---
diff --git a/php.spec b/php.spec
index 78072f8..447a14e 100644
--- a/php.spec
+++ b/php.spec
@@ -131,7 +131,6 @@ Patch41: php-8.5.0-parser.patch
 # use system tzdata
 Patch42: php-8.5.0-systzdata-v24.patch
 # See http://bugs.php.net/53436
-# + display PHP version backported from 8.4
 Patch43: php-8.4.0-phpize.patch
 # Use -lldap_r for OpenLDAP
 Patch45: php-8.5.0-ldap_r.patch
@@ -388,8 +387,8 @@ Provides: php-zts-devel%{?_isa} = %{version}-%{release}
 %endif
 %if %{with rename}
 Conflicts:  php-devel         < %{major_version}
-Provides:   php-devel         = %{version}-%{release}
-Provides:   php-devel%{?_isa} = %{version}-%{release}
+# Don't provide "php-devel" to avoid best provider
+# for extension BuildRequires
 %endif
 Recommends: php-nikic-php-parser5 >= 5.6.1
 Conflicts:  php-nikic-php-parser5 <  5.6.1
@@ -858,6 +857,9 @@ in pure PHP.
 %patch -P41 -p1 -b .syslib
 %patch -P42 -p1 -b .systzdata
 %patch -P43 -p1 -b .headers
+%if %{with rename}
+sed -e 's/php-devel/php%{major_version}-devel/' -i scripts/phpize.in
+%endif
 %patch -P45 -p1 -b .ldap_r
 %patch -P47 -p1 -b .phpinfo
 %patch -P48 -p1 -b .ec-param

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

only message in thread, other threads:[~2026-06-23  8:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23  8:10 [rpms/php] rawhide: Don't provide "php-devel" to avoid best provider for extension BuildRequires Remi Collet

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