diff --git a/dbus-python.spec b/dbus-python.spec index c2e1d2b..633e8ba 100644 --- a/dbus-python.spec +++ b/dbus-python.spec @@ -1,4 +1,5 @@ %{!?python_sitearch: %define 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()")} %define dbus_glib_version 0.70 %define dbus_version 0.90 @@ -65,12 +66,12 @@ rm -rf %{buildroot} %{_docdir}/dbus-python/TODO %{_docdir}/dbus-python/tutorial.txt -%dir %{python_sitearch}/dbus -%dir %{python_sitearch}/dbus/mainloop +%dir %{python_sitelib}/dbus +%dir %{python_sitelib}/dbus/mainloop %{python_sitearch}/*.so -%{python_sitearch}/*.py* -%{python_sitearch}/dbus/*.py* -%{python_sitearch}/dbus/mainloop/*.py* +%{python_sitelib}/*.py* +%{python_sitelib}/dbus/*.py* +%{python_sitelib}/dbus/mainloop/*.py* %files devel %defattr(-,root,root)