From: Sapan Bhatia Date: Fri, 22 May 2009 14:23:03 +0000 (+0000) Subject: The first argument to get_python_lib specifies if the file is platform specific or... X-Git-Tag: pyopenssl-0.9-1~3 X-Git-Url: http://git.onelab.eu/?p=pyopenssl.git;a=commitdiff_plain;h=9e5c5762dca6a5b1fa2985039c77d8edcdca925a The first argument to get_python_lib specifies if the file is platform specific or not. Without this, on 64-bit platforms, the function returns /usr/lib/python instead of /usr/lib/python64. --- diff --git a/pyOpenSSL.spec b/pyOpenSSL.spec index b3b0668..48a9a80 100644 --- a/pyOpenSSL.spec +++ b/pyOpenSSL.spec @@ -49,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_OBJECTS %defattr(-,root,root,-) -%(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/OpenSSL +%(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1),")/OpenSSL %changelog * Wed May 20 2009 Baris Metin