[Fedora-packaging] Open issues with the PHP guidelines

Christopher Stone chris.stone at gmail.com
Thu Jun 29 21:25:28 UTC 2006


On 6/29/06, Ville Skyttä <ville.skytta at iki.fi> wrote:
> Do those %defines at the top work in mock/plague setups where pear is
> not installed at the time the build begins?  I think someone reported a
> problem with the similar approach taken in the python spec template in
> configurations where python is not in the initial set of packages (which
> could be a bug, but pear not being there is not).  One possible fix
> would be to not do those defines, but to generate a filelist in %install
> and use that in %files, and drop the %defines altogether.

I tried changing the macros to just:
%define peardir %(pear config-get php_dir  2> /dev/null)
And this still worked under mock.




More information about the Fedora-packaging mailing list