- add %%py3dir macro to macros.python3 (to be used during unified python

2/3 builds for setting up the python3 copy of the source tree)
This commit is contained in:
dmalcolm 2010-01-22 22:00:30 +00:00
commit d5d2307015
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,4 @@
%__python3 /usr/bin/python3
%python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%python3_sitearch %(%{__python3} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}