- Add patch for RH bug #511082 (missing gtk-2.16-types.defs).

This commit is contained in:
Matthew Barnes 2009-07-13 17:14:41 +00:00
parent 728e1e263e
commit 241154359b
2 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -15,7 +15,7 @@
Name: pygtk2 Name: pygtk2
Version: 2.15.2 Version: 2.15.2
Release: 1%{?dist} Release: 2%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: Development/Languages Group: Development/Languages
Summary: Python bindings for GTK+ Summary: Python bindings for GTK+
@ -30,6 +30,9 @@ Patch0: pygtk-nodisplay-exception.patch
# RH bug #379051 / GNOME bug #523001 # RH bug #379051 / GNOME bug #523001
Patch1: pygtk2-2.12.1-pygtk-generic-cell-renderer-activate.patch 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 ### ### Dependencies ###
# Leave these requirements alone! RPM isn't smart enough # 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} %setup -q -n pygtk-%{version}
%patch0 -p1 %patch0 -p1
%patch1 -p1 -b .pygtk-generic-cell-renderer-activate %patch1 -p1 -b .pygtk-generic-cell-renderer-activate
%patch2 -p1 -b .gtk-2.16-types.defs
%build %build
%configure --enable-thread --enable-numpy %configure --enable-thread --enable-numpy
@ -163,6 +167,9 @@ rm -fr $RPM_BUILD_ROOT
%{_datadir}/gtk-doc/html/pygtk %{_datadir}/gtk-doc/html/pygtk
%changelog %changelog
* Mon Jul 13 2009 Matthew Barnes <mbarnes@redhat.com> - 2.15.2-2.fc12
- Add patch for RH bug #511082 (missing gtk-2.16-types.defs).
* Sun Jun 21 2009 Matthew Barnes <mbarnes@redhat.com> - 2.15.2-1.fc12 * Sun Jun 21 2009 Matthew Barnes <mbarnes@redhat.com> - 2.15.2-1.fc12
- Update to 2.15.2 - Update to 2.15.2