From 8040d7ca99d3b823cf1d150296bc867f7a57b291 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 24 Oct 2006 16:39:06 +0000 Subject: [PATCH] - Use python_sitearch instead of python_sitelib. --- pygobject2.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pygobject2.spec b/pygobject2.spec index c198791..f244adb 100644 --- a/pygobject2.spec +++ b/pygobject2.spec @@ -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 - 2.12.2-2.fc7 +- Use python_sitearch instead of python_sitelib. + * Sun Oct 15 2006 Matthew Barnes - 2.12.2-1.fc7 - Update to 2.12.2