Split pygobject3-devel into python2-gobject-devel and python3-gobject-devel
https://bugzilla.redhat.com/show_bug.cgi?id=1749589
This commit is contained in:
parent
323c0b2d88
commit
8f63fe6ddc
@ -75,6 +75,14 @@ Provides: %{name}-base%{?_isa} = %{version}-%{release}
|
||||
This package provides the non-cairo specific bits of the GObject Introspection
|
||||
library.
|
||||
|
||||
%package -n python2-gobject-devel
|
||||
Summary: Development files for embedding PyGObject introspection support
|
||||
Requires: python2-gobject%{?_isa} = %{version}-%{release}
|
||||
Requires: gobject-introspection-devel%{?_isa}
|
||||
|
||||
%description -n python2-gobject-devel
|
||||
This package contains files required to embed PyGObject
|
||||
|
||||
%package -n python3-gobject
|
||||
Summary: Python 3 bindings for GObject Introspection
|
||||
Requires: python3-gobject-base%{?_isa} = %{version}-%{release}
|
||||
@ -94,14 +102,15 @@ Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version
|
||||
This package provides the non-cairo specific bits of the GObject Introspection
|
||||
library.
|
||||
|
||||
|
||||
%package devel
|
||||
%package -n python3-gobject-devel
|
||||
Summary: Development files for embedding PyGObject introspection support
|
||||
Requires: python2-gobject%{?_isa} = %{version}-%{release}
|
||||
Requires: python3-gobject%{?_isa} = %{version}-%{release}
|
||||
Requires: gobject-introspection-devel%{?_isa}
|
||||
# Renamed in F31
|
||||
Obsoletes: pygobject3-devel < 3.34.0-2
|
||||
Provides: pygobject3-devel = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%description -n python3-gobject-devel
|
||||
This package contains files required to embed PyGObject
|
||||
|
||||
%prep
|
||||
@ -153,6 +162,11 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
||||
%{python2_sitearch}/pygtkcompat/
|
||||
%{python2_sitearch}/PyGObject-*.egg-info
|
||||
|
||||
%files -n python2-gobject-devel
|
||||
%dir %{_includedir}/pygobject-3.0/
|
||||
%{_includedir}/pygobject-3.0/pygobject.h
|
||||
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||
|
||||
%files -n python3-gobject
|
||||
%{python3_sitearch}/gi/_gi_cairo*.so
|
||||
|
||||
@ -165,8 +179,7 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
||||
%{python3_sitearch}/pygtkcompat/
|
||||
%{python3_sitearch}/PyGObject-*.egg-info
|
||||
|
||||
%files devel
|
||||
%doc examples/
|
||||
%files -n python3-gobject-devel
|
||||
%dir %{_includedir}/pygobject-3.0/
|
||||
%{_includedir}/pygobject-3.0/pygobject.h
|
||||
%{_libdir}/pkgconfig/pygobject-3.0.pc
|
||||
@ -174,6 +187,8 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
|
||||
%changelog
|
||||
* Sat Sep 21 2019 Kalev Lember <klember@redhat.com> - 3.34.0-2
|
||||
- Drop Python 3 conditionals
|
||||
- Split pygobject3-devel into python2-gobject-devel and python3-gobject-devel
|
||||
(#1749589)
|
||||
|
||||
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
|
||||
- Update to 3.34.0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user