From 45bb014513f9f68eaa3df5b377a7dc13af29f1d64b5f507590430a513ea3ecc0 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 15 Mar 2017 22:32:47 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=75 --- 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 7efa459..2eae118 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 a374132..b7bf059 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)