From 9cc566e1fd443910d86dccc13ef8dc234d638dff Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Mar 04 2010 19:07:38 +0000 Subject: - Filter out bogus Provides: _gtkextramodule.so - Drop no longer necessary references to BuildRoot: and - Drop explicit Requires: pkgconfig - Explicitly refer to Python 2.x --- diff --git a/python-gtkextra.spec b/python-gtkextra.spec index 702a809..5b23f44 100644 --- a/python-gtkextra.spec +++ b/python-gtkextra.spec @@ -3,7 +3,7 @@ Summary: Python bindings for gtkextra Name: python-gtkextra Version: 1.1.0 -Release: 11%{?dist} +Release: 12%{?dist} # FIXME: the license is not quite clear, using the most restrictive license # for this field. See # http://sourceforge.net/tracker/index.php?func=detail&aid=1941652&group_id=35371&atid=414148 @@ -15,11 +15,13 @@ Patch0: python-gtkextra-1.1.0-update.patch Patch1: python-gtkextra-1.1.0-codegenmoved.patch # https://sourceforge.net/tracker/?func=detail&aid=2805069&group_id=35371&atid=414148 Patch2: python-gtkextra-1.1.0-Makefile.patch -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -BuildRequires: gtk+extra-devel, pygtk2-devel, python-devel +BuildRequires: gtk+extra-devel, pygtk2-devel, python2-devel # For autoreconf BuildRequires: autoconf, automake, libtool -Requires: pygtk2, pkgconfig +Requires: pygtk2 + +%filter_provides_in %{python_sitearch}/gtk-2.0/gtkextra/_gtkextramodule.so +%filter_setup %description This package provides a Python interface to the GtkExtra2 widget set for GTK2. @@ -37,8 +39,6 @@ autoreconf -fi make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - # Install __init__.py and _config.py to %{python_sitearch} make install DESTDIR=$RPM_BUILD_ROOT \ pygtkextradir='$(pyexecdir)/gtk-2.0/gtkextra' @@ -55,6 +55,12 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pygtk/2.0/defs/gtkextra*.defs %changelog +* Thu Mar 4 2010 Miloslav Trmač - 1.1.0-12 +- Filter out bogus Provides: _gtkextramodule.so +- Drop no longer necessary references to BuildRoot: and +- Drop explicit Requires: pkgconfig +- Explicitly refer to Python 2.x + * Tue Jan 5 2010 Miloslav Trmač - 1.1.0-11 - s/%%define/%%global/