[Fedora-php-devel-list] PHP and Arch Specific Requires

Remi Collet Fedora at FamilleCollet.com
Sat Feb 12 10:17:20 UTC 2011


Hi,

I plan to work on PHP spec file for Arch Specific Requires
(the %{?_isa} macro use)

Some changes are quite trivial

Requires: php-common%{?_isa} = %{version}-%{release}

But we have a lot of virtual provides which need to be fixed

Provides: php-bz2%{?_isa}, php-calendar%{?_isa}, php-ctype%{?_isa}...
(keeping the non-arch specific ones for noarch package)

Shouldn't we also use version in this ?
Provides: php-bz2%{?_isa} = %{version}-%{release}

If we also change
Provides: php(api)%{?_isa} = %{apiver}
Provides: php(zend-abi)%{?_isa} = %{zendver}

This will requires a Guidelines change for pecl package to use
Requires:     php(zend-abi)%{?_isa} = %{php_zend_api}
Requires:     php(api)%{?_isa} = %{php_core_api}


@Joe, do you plan to change httpd ? to be able to
Requires: httpd-mmn%{?_isa} = %{httpd_mmn}


In which branch should we do this change ?


Thanks for your feedbacks

Remi.


More information about the php-devel mailing list