diff --git a/tevent.changes b/tevent.changes index fe4134e..a9432b4 100644 --- a/tevent.changes +++ b/tevent.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 31 21:33:31 UTC 2012 - lmuelle@suse.com + +- Define python_sitelib and python_sitearch if undefined. + ------------------------------------------------------------------- Thu May 31 12:01:45 UTC 2012 - lmuelle@suse.com diff --git a/tevent.spec b/tevent.spec index 2ff8123..417031a 100644 --- a/tevent.spec +++ b/tevent.spec @@ -17,6 +17,9 @@ # norootforbuild +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + Name: libtevent0 BuildRequires: doxygen BuildRequires: libtalloc-devel >= 2.0.7