On 7/4/06, Christopher Stone <chris.stone@xxxxxxxxx> wrote:
I am assuming that the php-pear package drops in the %{__pear} and %{__pecl} macros as suggested by Nicolas.
Actually if the php-pear package does this, the php-pear package should also define all these macros: %{!?__pear: %define __pear /usr/bin/pear} %{!?__pecl: %define __pecl /usr/bin/pecl} %define pear_phpdir %(%{__pear} config-get php_dir 2> /dev/null || echo undefined) %define pear_docdir %(%{__pear} config-get doc_dir 2> /dev/null || echo undefined) %define pear_testdir %(%{__pear} config-get test_dir 2> /dev/null || echo undefined) %define pear_testdir %(%{__pear} config-get data_dir 2> /dev/null || echo undefined) %define pear_xmldir %{pear_phpdir}/.pkgxml %define pecl_phpdir %(%{__pecl} config-get php_dir 2> /dev/null || echo undefined) %define pecl_docdir %(%{__pecl} config-get doc_dir 2> /dev/null || echo undefined) %define pecl_testdir %(%{__pecl} config-get test_dir 2> /dev/null || echo undefined) %define pecl_testdir %(%{__pecl} config-get data_dir 2> /dev/null || echo undefined) %define pecl_xmldir %{pecl_phpdir}/.pkgxml -- Fedora-packaging mailing list Fedora-packaging@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-packaging