- Use python_sitearch instead of python_sitelib.
This commit is contained in:
parent
6357f41a65
commit
8040d7ca99
@ -1,10 +1,10 @@
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
### Abstract ###
|
||||
|
||||
Name: pygobject2
|
||||
Version: 2.12.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: LGPL
|
||||
Group: Development/Languages
|
||||
Summary: Python bindings for GObject
|
||||
@ -63,12 +63,12 @@ rm -fr $RPM_BUILD_ROOT
|
||||
%doc AUTHORS NEWS README ChangeLog
|
||||
%doc examples
|
||||
|
||||
%dir %{python_sitelib}/gtk-2.0
|
||||
%{python_sitelib}/gtk-2.0/dsextras.*
|
||||
%{python_sitelib}/pygtk.*
|
||||
%dir %{python_sitearch}/gtk-2.0
|
||||
%{python_sitearch}/gtk-2.0/dsextras.*
|
||||
%{python_sitearch}/pygtk.*
|
||||
|
||||
%defattr(755, root, root, 755)
|
||||
%{python_sitelib}/gtk-2.0/gobject
|
||||
%{python_sitearch}/gtk-2.0/gobject
|
||||
|
||||
%files devel
|
||||
%defattr(644, root, root, 755)
|
||||
@ -79,6 +79,9 @@ rm -fr $RPM_BUILD_ROOT
|
||||
%{_datadir}/pygobject
|
||||
|
||||
%changelog
|
||||
* Tue Oct 24 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.2-2.fc7
|
||||
- Use python_sitearch instead of python_sitelib.
|
||||
|
||||
* Sun Oct 15 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.2-1.fc7
|
||||
- Update to 2.12.2
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user