On 10/23/2012 08:40 AM, Remi Collet wrote:
For years... pear have its metadata database stored in /usr/share/pear
This will move soon to /var/lib/pear (to be FHS compliant).
(feature approved/merged by upstream)
With this last change, we'll have "only" libraries in /usr/share/pear
(which is part of the default php include_path)
WARNING : all pear packages will be FTBFS.
Very simple fix:
Define the default metadata directory location
%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
And instead of
# Clean up unnecessary files
rm -rf %{buildroot}%{pear_phpdir}/.??*
Use
rm -rf %{buildroot}%{pear_metadir}/.??*
This can be applied on all branches
(already used on some of my packages, see php-phpunit-PHPUnit p.e.)
I presume php-pecl packages are un-affected by this?
--
Nathanael d. Noblet
t 403.875.4613
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel