public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] f44: Don't provide "php-devel" to avoid best provider for extension BuildRequires
@ 2026-07-01 4:33 Remi Collet
0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-07-01 4:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/php
Branch : f44
Commit : 633d2cc2abdde8cb85119f2cb00fc42ea703aa6f
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-07-01T06:29:25+02:00
Stats : +5/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/php/c/633d2cc2abdde8cb85119f2cb00fc42ea703aa6f?branch=f44
Log:
Don't provide "php-devel" to avoid best provider for extension BuildRequires
(cherry picked from commit 95e4f6eaca99cc328c08b10bb3969ac99a1d637b)
---
diff --git a/php.spec b/php.spec
index e948287..439856d 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-07-01 4:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01 4:33 [rpms/php] f44: 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