Dominique Leuenberger 2017-03-15 22:32:47 +00:00 committed by Git OBS Bridge
parent d86d03ccf8
commit 45bb014513
2 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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)