summaryrefslogtreecommitdiff
path: root/pygtk.spec.in
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-05-31 19:59:47 +0000
committerMatt Wilson <msw@src.gnome.org>2002-05-31 19:59:47 +0000
commit727fde487f4598495ca17886cbe2f13768afe741 (patch)
tree9cd550efad452d2fd6aec50073ae9ef7f01534a2 /pygtk.spec.in
parent5b30190d9ba9f274ee904cf445ebed49c2656f2e (diff)
downloadpygtk-727fde487f4598495ca17886cbe2f13768afe741.tar.gz
the path argument must be a tuple. Ints are not automatically converted to
2002-05-31 Matt Wilson <msw@redhat.com> * 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.
Diffstat (limited to 'pygtk.spec.in')
-rw-r--r--pygtk.spec.in5
1 files changed, 3 insertions, 2 deletions
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 <james@daa.com.au>
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