summaryrefslogtreecommitdiff
path: root/pygtk.spec.in
diff options
context:
space:
mode:
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