]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
- 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 c64b827fd63ee769b2131a9eab3fc4156fcd38c1..ca9e593f921a6aa8fbf12e3bdc7021067b3ca53f 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