Mailinglist Archive: opensuse-buildservice (199 mails)

< Previous Next >
[opensuse-buildservice] Packaging PHP

I'm currently packaging some PHP-pear packages, and am looking for resources in
how-to package PHP. There is some old documentation at , which seem not to be fully correct
for the build-service, the main documentation at is still empty.

What I'm looking for is some path, which should be provided from the OBS;
Fedora provides the following macros:


OBS seem to use the following Macros, as I have discovered e.g. in


but I can't use those macros in my home projects. Currently I define them using

%define __pear %{_bindir}/pear
%define php_peardir %(pear config-get php_dir 2> /dev/null)
%define php_pearxmldir /var/lib/pear

Are there any hints, how to package PHP correctly? Is there any specific reason
why OBS doesn't use the same macros as Fedora?

Please enlighten me...


Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages