- use python_sitelib for noarch files and python_sitearch for platform

files
This commit is contained in:
John (J5) Palmieri 2007-01-24 19:43:56 +00:00
parent 2d6ec8e287
commit 1f485fb5dd

View File

@ -1,4 +1,5 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?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_glib_version 0.70
%define dbus_version 0.90 %define dbus_version 0.90
@ -65,12 +66,12 @@ rm -rf %{buildroot}
%{_docdir}/dbus-python/TODO %{_docdir}/dbus-python/TODO
%{_docdir}/dbus-python/tutorial.txt %{_docdir}/dbus-python/tutorial.txt
%dir %{python_sitearch}/dbus %dir %{python_sitelib}/dbus
%dir %{python_sitearch}/dbus/mainloop %dir %{python_sitelib}/dbus/mainloop
%{python_sitearch}/*.so %{python_sitearch}/*.so
%{python_sitearch}/*.py* %{python_sitelib}/*.py*
%{python_sitearch}/dbus/*.py* %{python_sitelib}/dbus/*.py*
%{python_sitearch}/dbus/mainloop/*.py* %{python_sitelib}/dbus/mainloop/*.py*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)