public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] rawhide: Don't provide "php-devel" to avoid best provider for extension BuildRequires
Date: Tue, 23 Jun 2026 08:10:40 GMT [thread overview]
Message-ID: <178220224027.1.12225525375661828414.rpms-php-95e4f6eaca99@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-23 8:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178220224027.1.12225525375661828414.rpms-php-95e4f6eaca99@fedoraproject.org \
--to=remi@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox