From f13e665ed1bf2b5533d082ea68309912e25603d9913a55149185e7110f016024 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 15 Mar 2017 22:43:53 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=76 --- python-gobject.spec | 6 +++--- python3-gobject.spec | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python-gobject.spec b/python-gobject.spec index 2eae118..1329168 100644 --- a/python-gobject.spec +++ b/python-gobject.spec @@ -64,7 +64,7 @@ BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-gobject) # Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed. Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1) -%if local_py_suffix == 2 +%if %local_py_suffix == 2 Provides: python2-gobject = %{version} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -79,7 +79,7 @@ Summary: Python bindings for GObject -- Gdk bindings Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: %{name}-cairo = %{version} -%if local_py_suffix == 2 +%if %local_py_suffix == 2 Provides: python2-gobject-Gdk = %{version} %endif %define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f)) @@ -95,7 +95,7 @@ This package contains the Python Gdk bindings for GObject. Summary: Python bindings for GObject -- Cairo bindings Group: Development/Libraries/Python Requires: %{name} = %{version} -%if local_py_suffix == 2 +%if %local_py_suffix == 2 Provides: python2-gobject-cairo = %{version} %endif %define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo) diff --git a/python3-gobject.spec b/python3-gobject.spec index b7bf059..d1f4cb2 100644 --- a/python3-gobject.spec +++ b/python3-gobject.spec @@ -64,7 +64,7 @@ BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo-gobject) # Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed. Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1) -%if local_py_suffix == 2 +%if %local_py_suffix == 2 Provides: python2-gobject = %{version} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -79,7 +79,7 @@ Summary: Python bindings for GObject -- Gdk bindings Group: Development/Libraries/Python Requires: %{name} = %{version} Requires: %{name}-cairo = %{version} -%if local_py_suffix == 2 +%if %local_py_suffix == 2 Provides: python2-gobject-Gdk = %{version} %endif %define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f)) @@ -95,7 +95,7 @@ This package contains the Python Gdk bindings for GObject. Summary: Python bindings for GObject -- Cairo bindings Group: Development/Libraries/Python Requires: %{name} = %{version} -%if local_py_suffix == 2 +%if %local_py_suffix == 2 Provides: python2-gobject-cairo = %{version} %endif %define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)