From 241154359b15c644e75598682d7060542d14cb79 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 13 Jul 2009 17:14:41 +0000 Subject: [PATCH] - Add patch for RH bug #511082 (missing gtk-2.16-types.defs). --- pygtk-2.15.2-gtk-2.16.defs.patch | 11 +++++++++++ pygtk2.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 pygtk-2.15.2-gtk-2.16.defs.patch diff --git a/pygtk-2.15.2-gtk-2.16.defs.patch b/pygtk-2.15.2-gtk-2.16.defs.patch new file mode 100644 index 0000000..fdbe911 --- /dev/null +++ b/pygtk-2.15.2-gtk-2.16.defs.patch @@ -0,0 +1,11 @@ +diff -up pygtk-2.15.2/gtk/gtk-2.16.defs.gtk-2.16.defs pygtk-2.15.2/gtk/gtk-2.16.defs +--- pygtk-2.15.2/gtk/gtk-2.16.defs.gtk-2.16.defs 2009-06-17 16:49:39.000000000 -0400 ++++ pygtk-2.15.2/gtk/gtk-2.16.defs 2009-07-13 13:09:37.000000000 -0400 +@@ -1,6 +1,6 @@ + ;; -*- scheme -*- + +- ++(include "gtk-2.16-types.defs") + + ;; From gtkaction.h + diff --git a/pygtk2.spec b/pygtk2.spec index 111ac66..617259e 100644 --- a/pygtk2.spec +++ b/pygtk2.spec @@ -15,7 +15,7 @@ Name: pygtk2 Version: 2.15.2 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: Development/Languages Summary: Python bindings for GTK+ @@ -30,6 +30,9 @@ Patch0: pygtk-nodisplay-exception.patch # RH bug #379051 / GNOME bug #523001 Patch1: pygtk2-2.12.1-pygtk-generic-cell-renderer-activate.patch +# RH bug #511082 +Patch2: pygtk-2.15.2-gtk-2.16.defs.patch + ### Dependencies ### # Leave these requirements alone! RPM isn't smart enough @@ -102,6 +105,7 @@ This package contains documentation files for %{name}. %setup -q -n pygtk-%{version} %patch0 -p1 %patch1 -p1 -b .pygtk-generic-cell-renderer-activate +%patch2 -p1 -b .gtk-2.16-types.defs %build %configure --enable-thread --enable-numpy @@ -163,6 +167,9 @@ rm -fr $RPM_BUILD_ROOT %{_datadir}/gtk-doc/html/pygtk %changelog +* Mon Jul 13 2009 Matthew Barnes - 2.15.2-2.fc12 +- Add patch for RH bug #511082 (missing gtk-2.16-types.defs). + * Sun Jun 21 2009 Matthew Barnes - 2.15.2-1.fc12 - Update to 2.15.2