Bug 837042 - add php(language) virtual provide
Summary: add php(language) virtual provide
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: php
Version: 6.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Web Stack Team
QA Contact: David Kutálek
Depends On:
TreeView+ depends on / blocked
Reported: 2012-07-02 15:08 UTC by Joe Orton
Modified: 2013-02-21 10:14 UTC (History)
2 users (show)

Clone Of:
: 837043 837044 (view as bug list)
Last Closed: 2013-02-21 10:14:20 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0514 normal SHIPPED_LIVE Moderate: php security, bug fix and enhancement update 2013-02-20 21:29:20 UTC

Description Joe Orton 2012-07-02 15:08:03 UTC
Description of problem:
Third-party (e.g. EPEL) and Fedora packaging requires a "virtual" provide for the PHP language version, independent of the specific php packages which are installed.  We are using "php(language) = version" for this; this should be added to the php packages in Red Hat Enterprise Linux so third-party packagers can produce consistently packaged PHP libraries (and web applications) for Fedora and RHEL.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rpm -q --provides php-common | grep 'php(language)'
Actual results:

Expected results:

Comment 1 RHEL Product and Program Management 2012-07-10 08:30:45 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 RHEL Product and Program Management 2012-07-11 01:54:34 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 3 Remi Collet 2012-10-05 08:33:04 UTC
Changes to be applied for EPEL packagers

From rpmdiff output on php-common:
added       PROVIDES php(language) = 5.3.3
added       PROVIDES php-core  
added       PROVIDES php-ereg  
added       PROVIDES php-filter  
added       PROVIDES php-standard  

And, when php-devel installed
$ rpm --eval %{php_version}

Comment 4 Remi Collet 2012-10-05 10:44:30 UTC
Sorry, I have miss one.

added       PROVIDES php-phar  

Virtual provides must be in sync with php -m output.

Comment 8 Greg Swallow 2013-02-17 23:04:53 UTC
And php-xmlwriter could be added to the php-xml subpackage's provides too?  That is needed for one of the horde 4 rpms you are working on (php-horde-kronolith)

I made an emtpy package with those provides to get around the problem for now.  

PS - One other rpm that does not seem to be in epel by the way is php-pecl-http, required by php-horde-Horde-Http - I couldn't use the rpm from your repo as it was build against php-5.4.  There is a version on rpmforge's repo though built against 5.3.

Thanks Remi!

Comment 9 Remi Collet 2013-02-19 09:07:45 UTC
php-xmlwriter and php-xmlreader will be also add (see bug #874987)

Comment 10 errata-xmlrpc 2013-02-21 10:14:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.