From e009183c2a8b26d856d14c165daadb2d4cc723deb486c7118279297714ee7f77 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Wed, 4 May 2011 14:03:11 +0000 Subject: [PATCH] - added Provides: pygtk2 for cross-distro compatibility (bnc#688452) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gtk?expand=0&rev=20 --- python-gtk.changes | 5 +++++ python-gtk.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-gtk.changes b/python-gtk.changes index c7a8eac..99d3d1c 100644 --- a/python-gtk.changes +++ b/python-gtk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 4 14:02:48 UTC 2011 - jmatejek@novell.com + +- added Provides: pygtk2 for cross-distro compatibility (bnc#688452) + ------------------------------------------------------------------- Wed May 4 13:02:36 CEST 2011 - vuntz@opensuse.org diff --git a/python-gtk.spec b/python-gtk.spec index 0a774a6..edde94f 100644 --- a/python-gtk.spec +++ b/python-gtk.spec @@ -39,6 +39,9 @@ Source: %{_name}-%{version}.tar.bz2 Patch0: pygtk-2.22.0-capsule.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +# for cross-distro compatibility: +Provides: pygtk2 = %{version} + %define lparen ( %define rparen ) %define python_gtk_req %(zgrep -a _required_version %{S:0} | sed -n 's/_required_version,[[:space:]]*/ >= /;s/%{rparen}$//;s/1.0.2%{rparen} dnl or 1.1.7/1.1.7/;s/\\%{lparen}glib\\|gtk\\|libglade\\|gobject\\%{rparen}/&2/;s/py\\%{lparen}.*\\%{rparen} /python-\\1 /;/gtk2unixprint/d;s/^m4_define%{lparen}//p' | tr '\\n' ' ')