[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: libdir and python on x86_64



Use the python_sitearch or python_sitelib defines:
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}


%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Pick the appropriate one, put it at the top of the specfile, and use that rather than %{_libdir}. There's more information in the wiki. These are also defined in the python spec template in fedora-rpmdevtools.

--Shahms


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]