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

Re: libdir and python on x86_64



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Shahms" == Shahms E King <shahms shahms com> writes:

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

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

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

Cool. This is just what I was looking for. 

Thanks for the pointer. 

Shahms> --Shahms

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFCnSj63imCezTjY0ERAhbyAJ9miXYlCoWGnB5CQ7lCGq/h6JMoJgCeJNlI
Dm3+ALakn/xUTLFEqX6A0Es=
=YkGX
-----END PGP SIGNATURE-----


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