Accepting request 389424 from GNOME:Next
- Split out a python[3]-gobject-Gdk subpackage: do not forcibly pull in the entire X-stack for CLI tools requiring python-gobject for dbus bindings for example. - The new package supplements python-gobject together with libgdk. - Split out a python[3]-gobject-Gdk subpackage: do not forcibly pull in the entire X-stack for CLI tools requiring python-gobject for dbus bindings for example. - The new package supplements python-gobject together with libgdk. OBS-URL: https://build.opensuse.org/request/show/389424 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/python-gobject?expand=0&rev=58
This commit is contained in:
parent
534fc2ee38
commit
e4cbfa7f29
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 11:16:53 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Split out a python[3]-gobject-Gdk subpackage: do not forcibly
|
||||
pull in the entire X-stack for CLI tools requiring python-gobject
|
||||
for dbus bindings for example.
|
||||
- The new package supplements python-gobject together with libgdk.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 10:01:37 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
@ -1418,7 +1426,7 @@ Tue Mar 1 08:30:34 UTC 2011 - fcrozat@novell.com
|
||||
|
||||
-------------------------------------------------------------------
|
||||
-Wed Feb 9 18:09:19 UTC 2011 - jmatejek@novell.com
|
||||
|
||||
|
||||
- added patch that switches to new Capsule API, because the deprecated
|
||||
PyCObject API will cause a segfault when warnings are exceptions
|
||||
(bnc#669802)
|
||||
|
@ -67,6 +67,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Pygobjects is an extension module for python that gives you access to
|
||||
GLib's GObjects.
|
||||
|
||||
%package Gdk
|
||||
Summary: Python bindings for GObject -- Gdk bindings
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-cairo = %{version}
|
||||
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f))
|
||||
Supplements: packageand(%{name}:%{gdk_real_package})
|
||||
|
||||
%description Gdk
|
||||
Pygobjects is an extension module for python that gives you access to
|
||||
GLib's GObjects.
|
||||
|
||||
This package contains the Python Gdk bindings for GObject.
|
||||
|
||||
%package cairo
|
||||
Summary: Python bindings for GObject -- Cairo bindings
|
||||
Group: Development/Libraries/Python
|
||||
@ -134,6 +148,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{local_py_sitedir}/*.egg-info
|
||||
# Lives in cairo subpackage
|
||||
%exclude %{local_py_sitedir}/gi/_gi_cairo*.so
|
||||
%exclude %{local_py_sitedir}/gi/overrides/Gdk.*
|
||||
%exclude %{local_py_sitedir}/gi/overrides/Gtk.*
|
||||
|
||||
%files Gdk
|
||||
%defattr(-,root,root)
|
||||
%{local_py_sitedir}/gi/overrides/Gdk.*
|
||||
%{local_py_sitedir}/gi/overrides/Gtk.*
|
||||
|
||||
%files cairo
|
||||
%defattr(-,root,root)
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 13 11:16:53 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Split out a python[3]-gobject-Gdk subpackage: do not forcibly
|
||||
pull in the entire X-stack for CLI tools requiring python-gobject
|
||||
for dbus bindings for example.
|
||||
- The new package supplements python-gobject together with libgdk.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 10:01:37 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
@ -1418,7 +1426,7 @@ Tue Mar 1 08:30:34 UTC 2011 - fcrozat@novell.com
|
||||
|
||||
-------------------------------------------------------------------
|
||||
-Wed Feb 9 18:09:19 UTC 2011 - jmatejek@novell.com
|
||||
|
||||
|
||||
- added patch that switches to new Capsule API, because the deprecated
|
||||
PyCObject API will cause a segfault when warnings are exceptions
|
||||
(bnc#669802)
|
||||
|
@ -67,6 +67,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Pygobjects is an extension module for python that gives you access to
|
||||
GLib's GObjects.
|
||||
|
||||
%package Gdk
|
||||
Summary: Python bindings for GObject -- Gdk bindings
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-cairo = %{version}
|
||||
%define gdk_real_package %(rpm -q --qf '%%{NAME}' -f $(readlink /usr/lib64/libgdk-3.so -f))
|
||||
Supplements: packageand(%{name}:%{gdk_real_package})
|
||||
|
||||
%description Gdk
|
||||
Pygobjects is an extension module for python that gives you access to
|
||||
GLib's GObjects.
|
||||
|
||||
This package contains the Python Gdk bindings for GObject.
|
||||
|
||||
%package cairo
|
||||
Summary: Python bindings for GObject -- Cairo bindings
|
||||
Group: Development/Libraries/Python
|
||||
@ -134,6 +148,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{local_py_sitedir}/*.egg-info
|
||||
# Lives in cairo subpackage
|
||||
%exclude %{local_py_sitedir}/gi/_gi_cairo*.so
|
||||
%exclude %{local_py_sitedir}/gi/overrides/Gdk.*
|
||||
%exclude %{local_py_sitedir}/gi/overrides/Gtk.*
|
||||
|
||||
%files Gdk
|
||||
%defattr(-,root,root)
|
||||
%{local_py_sitedir}/gi/overrides/Gdk.*
|
||||
%{local_py_sitedir}/gi/overrides/Gtk.*
|
||||
|
||||
%files cairo
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user