[Fedora-php-devel-list] php-pear extension and package.xml

Remi Collet Fedora at FamilleCollet.com
Sat May 12 07:21:21 UTC 2007


Hi php-devel-list.

Some old extension still use package.xml in version 1.0 which is
deprecated (no channel support).

PEAR 1.6 will only support 2.0.

One solution is to convert this old file to new 2.0 format.

For example, we can use :
  %prep
  %setup -q -c
  %{__pear} convert package.xml package2.xml
  mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml

php-pear-Net-Ping is an example. I will submit it to Review soon (it is
required by "oreon")

Comments please.
Remi




More information about the Fedora-php-devel-list mailing list