From: Sapan Bhatia Date: Thu, 21 May 2009 13:51:10 +0000 (+0000) Subject: Getting python site-packages directory from the environment. X-Git-Tag: pyopenssl-0.9-1~4 X-Git-Url: http://git.onelab.eu/?p=pyopenssl.git;a=commitdiff_plain;h=f4841ee5af188cfecb87eda3496bd041f6311554 Getting python site-packages directory from the environment. --- diff --git a/pyOpenSSL.spec b/pyOpenSSL.spec index 23a882f..b3b0668 100644 --- a/pyOpenSSL.spec +++ b/pyOpenSSL.spec @@ -49,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_OBJECTS %defattr(-,root,root,-) -/usr/lib/python2.5/site-packages/OpenSSL +%(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/OpenSSL %changelog * Wed May 20 2009 Baris Metin