X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=geniwrapper.spec;h=6de6ea38f61d4a2a08c0f875d982b3b6eaaf96da;hb=6e13cbbfa48984dcf10151a40f7072f3ce00db32;hp=00219e067812c2c57308b6091160adf0720dd3fe;hpb=049adf8351c2b272c379cd849eed196349bcee43;p=sfa.git diff --git a/geniwrapper.spec b/geniwrapper.spec index 00219e06..6de6ea38 100644 --- a/geniwrapper.spec +++ b/geniwrapper.spec @@ -7,6 +7,7 @@ %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %global 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()")} Name: %{name} Version: %{version}