- fix py_sitedir definition for fedora
authorMichael Schroeder <mls@suse.de>
Thu, 30 Oct 2008 10:52:55 +0000 (10:52 +0000)
committerMichael Schroeder <mls@suse.de>
Thu, 30 Oct 2008 10:52:55 +0000 (10:52 +0000)
package/libsatsolver.spec.in

index c64b827..ca9e593 100644 (file)
@@ -29,7 +29,7 @@ Summary:        A new approach to package dependency solving
 
 #define some macros missing on fedora
 %if 0%{?fedora_version}
-%{!?py_sitedir: %define py_sitedir %(%{__python} -c "from distutils.sysconfig import get_python_lib()")}
+%{!?py_sitedir: %define py_sitedir %(%__python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 %{!?py_requires: %define py_requires Requires: python}
 %endif