Am 23.10.2012 16:40, schrieb Remi Collet:
> 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.)

does "pear update pear" this also know?
in the real life mostly even as RPM packed pear
packages are updated with "pear upgrade" because
the RPM's are way behind by design

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to