This commit is contained in:
parent
45bb014513
commit
f13e665ed1
@ -64,7 +64,7 @@ BuildRequires: pkgconfig(cairo)
|
|||||||
BuildRequires: pkgconfig(cairo-gobject)
|
BuildRequires: pkgconfig(cairo-gobject)
|
||||||
# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed.
|
# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed.
|
||||||
Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1)
|
Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1)
|
||||||
%if local_py_suffix == 2
|
%if %local_py_suffix == 2
|
||||||
Provides: python2-gobject = %{version}
|
Provides: python2-gobject = %{version}
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -79,7 +79,7 @@ Summary: Python bindings for GObject -- Gdk bindings
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: %{name}-cairo = %{version}
|
Requires: %{name}-cairo = %{version}
|
||||||
%if local_py_suffix == 2
|
%if %local_py_suffix == 2
|
||||||
Provides: python2-gobject-Gdk = %{version}
|
Provides: python2-gobject-Gdk = %{version}
|
||||||
%endif
|
%endif
|
||||||
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f))
|
%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
|
Summary: Python bindings for GObject -- Cairo bindings
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
%if local_py_suffix == 2
|
%if %local_py_suffix == 2
|
||||||
Provides: python2-gobject-cairo = %{version}
|
Provides: python2-gobject-cairo = %{version}
|
||||||
%endif
|
%endif
|
||||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||||
|
@ -64,7 +64,7 @@ BuildRequires: pkgconfig(cairo)
|
|||||||
BuildRequires: pkgconfig(cairo-gobject)
|
BuildRequires: pkgconfig(cairo-gobject)
|
||||||
# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed.
|
# Trigger an automatic installation of python(3)?-gobject when python and libgirepository are installed.
|
||||||
Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1)
|
Supplements: packageand(%{local_py_pkg}:libgirepository-1_0-1)
|
||||||
%if local_py_suffix == 2
|
%if %local_py_suffix == 2
|
||||||
Provides: python2-gobject = %{version}
|
Provides: python2-gobject = %{version}
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -79,7 +79,7 @@ Summary: Python bindings for GObject -- Gdk bindings
|
|||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: %{name}-cairo = %{version}
|
Requires: %{name}-cairo = %{version}
|
||||||
%if local_py_suffix == 2
|
%if %local_py_suffix == 2
|
||||||
Provides: python2-gobject-Gdk = %{version}
|
Provides: python2-gobject-Gdk = %{version}
|
||||||
%endif
|
%endif
|
||||||
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f))
|
%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
|
Summary: Python bindings for GObject -- Cairo bindings
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
%if local_py_suffix == 2
|
%if %local_py_suffix == 2
|
||||||
Provides: python2-gobject-cairo = %{version}
|
Provides: python2-gobject-cairo = %{version}
|
||||||
%endif
|
%endif
|
||||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||||
|
Loading…
Reference in New Issue
Block a user