HEADUP for all PEAR packages

Reindl Harald h.reindl at thelounge.net
Tue Oct 23 14:44:39 UTC 2012

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20121023/bd27868e/attachment.sig>

More information about the devel mailing list