HEADUP for all PEAR packages
Nathanael D. Noblet
nathanael at gnat.ca
Tue Oct 23 21:02:45 UTC 2012
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
More information about the devel
mailing list