- Provide python2- versions of packages to ease transition to
python single-spec macros. - Provide python2- versions of packages to ease transition to python single-spec macros. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=74
This commit is contained in:
parent
0f8a196ef6
commit
d86d03ccf8
@ -2,8 +2,7 @@
|
||||
Wed Mar 15 19:38:20 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Provide python2- versions of packages to ease transition to
|
||||
new python single-spec macros. More comprehensive changes will
|
||||
come after GNOME 3.24.
|
||||
python single-spec macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 13:28:08 UTC 2017 - dimstar@opensuse.org
|
||||
|
@ -64,7 +64,9 @@ 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
|
||||
Provides: python2-gobject = %{version}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{local_py_requires}
|
||||
|
||||
@ -77,7 +79,9 @@ Summary: Python bindings for GObject -- Gdk bindings
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-cairo = %{version}
|
||||
%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))
|
||||
Supplements: packageand(%{name}:%{gdk_real_package})
|
||||
|
||||
@ -91,7 +95,9 @@ 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
|
||||
Provides: python2-gobject-cairo = %{version}
|
||||
%endif
|
||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||
Supplements: packageand(%{name}:%{cairo_real_package})
|
||||
|
||||
@ -112,8 +118,8 @@ Requires: python3-gobject = %{version}
|
||||
# python3-gobject-devel package is no longer being built. In order to ease upgrades
|
||||
# and remove the obsolete package, we obsolete/provide it here.
|
||||
Obsoletes: python3-gobject-devel < 3.11.5
|
||||
Provides: python3-gobject-devel = %{version}
|
||||
Provides: python2-gobject-devel = %{version}
|
||||
Provides: python3-gobject-devel = %{version}
|
||||
|
||||
%description devel
|
||||
This package contains files required to build wrappers for gobject
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 15 19:38:20 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Provide python2- versions of packages to ease transition to
|
||||
python single-spec macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 27 13:28:08 UTC 2017 - dimstar@opensuse.org
|
||||
|
||||
|
@ -64,6 +64,9 @@ 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
|
||||
Provides: python2-gobject = %{version}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{local_py_requires}
|
||||
|
||||
@ -76,6 +79,9 @@ Summary: Python bindings for GObject -- Gdk bindings
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-cairo = %{version}
|
||||
%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))
|
||||
Supplements: packageand(%{name}:%{gdk_real_package})
|
||||
|
||||
@ -89,6 +95,9 @@ 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
|
||||
Provides: python2-gobject-cairo = %{version}
|
||||
%endif
|
||||
%define cairo_real_package %(rpm -q --qf '%%{NAME}' --whatprovides cairo)
|
||||
Supplements: packageand(%{name}:%{cairo_real_package})
|
||||
|
||||
@ -109,6 +118,7 @@ Requires: python3-gobject = %{version}
|
||||
# python3-gobject-devel package is no longer being built. In order to ease upgrades
|
||||
# and remove the obsolete package, we obsolete/provide it here.
|
||||
Obsoletes: python3-gobject-devel < 3.11.5
|
||||
Provides: python2-gobject-devel = %{version}
|
||||
Provides: python3-gobject-devel = %{version}
|
||||
|
||||
%description devel
|
||||
|
Loading…
Reference in New Issue
Block a user