- use python_sitelib for noarch files and python_sitearch for platform
files
This commit is contained in:
parent
2d6ec8e287
commit
1f485fb5dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user