[pygobject3] Split non-cairo bits into subpackage
Kalev Lember
kalev at fedoraproject.org
Thu Dec 20 21:19:28 UTC 2012
commit 7d0260971174b64d6186d7674222bb0049b4cd2f
Author: Ray Strode <rstrode at redhat.com>
Date: Thu Dec 13 10:18:24 2012 -0500
Split non-cairo bits into subpackage
pygobject3.spec | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
---
diff --git a/pygobject3.spec b/pygobject3.spec
index 24d43bd..014b337 100644
--- a/pygobject3.spec
+++ b/pygobject3.spec
@@ -22,7 +22,7 @@
Name: pygobject3
Version: 3.7.1
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+ and MIT
Group: Development/Languages
Summary: Python 2 bindings for GObject Introspection
@@ -103,15 +103,24 @@ BuildRequires: dejavu-serif-fonts
BuildRequires: dbus-x11
%endif # with_check
+Requires: %{name}-base = %{version}-%{release}
+
# The cairo override module depends on this
Requires: pycairo
-Requires: gobject-introspection >= %{gobject_introspection_version}
-
%description
The %{name} package provides a convenient wrapper for the GObject library
for use in Python programs.
+%package base
+Summary: Python 2 bindings for GObject Introspection base package
+Group: Development/Languages
+Requires: gobject-introspection >= %{gobject_introspection_version}
+
+%description base
+This package provides the non-cairo specific bits of the GObject Introspection
+library.
+
%package devel
Summary: Development files for embedding PyGObject introspection support
Group: Development/Languages
@@ -226,10 +235,15 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check %{verbosity}
%files
%defattr(644, root, root, 755)
+%{python_sitearch}/gi/_gi_cairo.so
+
+%files base
+%defattr(644, root, root, 755)
%doc AUTHORS NEWS README COPYING
%{_libdir}/libpyglib-gi-2.0-python.so*
%dir %{python_sitearch}/gi
%{python_sitearch}/gi/*
+%exclude %{python_sitearch}/gi/_gi_cairo.so
%{python_sitearch}/pygobject-*.egg-info
%files devel
@@ -251,6 +265,9 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check %{verbosity}
%endif # with_python3
%changelog
+* Thu Dec 13 2012 Ray Strode <rstrode at redhat.com> 3.7.1-3
+- Split non-cairo parts into a subpackage
+
* Mon Nov 12 2012 Kalev Lember <kalevlember at gmail.com> - 3.7.1-2
- Remove lib64 rpaths (#817701)
- Move code examples to the -devel subpackage and fix the multilib
More information about the scm-commits
mailing list