diff --git a/python-pmw.spec b/python-pmw.spec index 2fd4c99..b26c2e4 100644 --- a/python-pmw.spec +++ b/python-pmw.spec @@ -35,6 +35,7 @@ BuildRequires: fdupes BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description A toolkit for building high-level compound widgets in Python using the Tkinter