Dne neděle 02 Srpen 2009 06:35:05 Vincent Petry napsal(a):
Hi,
I am trying to compile a python module by following this documentation: http://en.opensuse.org/Packaging/Python
The problem I meet with my local OBS build is that it says "Failed build dependencies, can't find python". It looks like the %{py_requires} macro is not expanded at all.
I tried another way by adding "BuildRequires: python = %{py_ver}.%{py_ver}", but it seems that the %{py_ver} macro also doesn't expand at all.
Those macros are defined in /etc/rpm/macros.python, which are in python-base in openSUSE 11.1. I suggest you add the ``python-devel'' to BuildRequires, because it (or dependent packages) contains everything for PYthon packaging. Regards MV -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org