From 727fde487f4598495ca17886cbe2f13768afe741 Mon Sep 17 00:00:00 2001 From: Matt Wilson Date: Fri, 31 May 2002 19:59:47 +0000 Subject: the path argument must be a tuple. Ints are not automatically converted to 2002-05-31 Matt Wilson * examples/pygtk-demo/demos/list_store.py (fixed_toggled): the path argument must be a tuple. Ints are not automatically converted to tuples any more. * pygtype.c (pyg_value_as_pyobject): change the behavior of G_TYPE_UINT to match the code generator's output on 32 bit systems. --- pygtk.spec.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pygtk.spec.in') diff --git a/pygtk.spec.in b/pygtk.spec.in index 5a422bcf..645a72af 100644 --- a/pygtk.spec.in +++ b/pygtk.spec.in @@ -1,4 +1,5 @@ %define buildglade %(pkg-config libglade-2.0 && echo 1 || echo 0) +%define python python2 Summary: Python bindings for the GTK+ widget set. Name: pygtk2 @@ -10,8 +11,8 @@ Source: ftp://ftp.gtk.org/pub/gtk/python/pygtk-%{version}.tar.gz BuildRoot: /var/tmp/pygtk-root Packager: James Henstridge Requires: gtk2 >= 1.3.9 -Requires: python2 >= 2.2 -Buildrequires: python2-devel >= 2.2 +Requires: %{python} >= 2.2 +Buildrequires: %{python}-devel >= 2.2 Buildrequires: libglade2-devel %description -- cgit v1.2.1