[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: libdir and python on x86_64
- From: "Shahms E. King" <shahms shahms com>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: libdir and python on x86_64
- Date: Tue, 31 May 2005 17:30:41 -0700
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]