Rename python-gobject-base to python2-gobject-base as well

This commit is contained in:
Kalev Lember 2017-09-14 10:25:24 +02:00
parent ba7b4534b0
commit de5038ee74

View File

@ -12,7 +12,7 @@
Name: pygobject3
Version: 3.24.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Python bindings for GObject Introspection
License: LGPLv2+ and MIT
@ -57,7 +57,7 @@ for use in Python programs.
%package -n python2-gobject
%{?python_provide:%python_provide python2-gobject}
Summary: Python 2 bindings for GObject Introspection
Requires: python-gobject-base%{?_isa} = %{version}-%{release}
Requires: python2-gobject-base%{?_isa} = %{version}-%{release}
# The cairo override module depends on this
Requires: pycairo%{?_isa}
@ -70,7 +70,8 @@ The python-gobject package provides a convenient wrapper for the GObject
library and and other libraries that are compatible with GObject Introspection,
for use in Python 2 programs.
%package -n python-gobject-base
%package -n python2-gobject-base
%{?python_provide:%python_provide python2-gobject-base}
Summary: Python 2 bindings for GObject Introspection base package
Requires: gobject-introspection%{?_isa} >= %{gobject_introspection_version}
@ -78,7 +79,7 @@ Obsoletes: %{name}-base < 3.17.90-2
Provides: %{name}-base = %{version}-%{release}
Provides: %{name}-base%{?_isa} = %{version}-%{release}
%description -n python-gobject-base
%description -n python2-gobject-base
This package provides the non-cairo specific bits of the GObject Introspection
library.
@ -187,7 +188,7 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
%files -n python2-gobject
%{python_sitearch}/gi/_gi_cairo.so
%files -n python-gobject-base
%files -n python2-gobject-base
%license COPYING
%doc AUTHORS NEWS README
%dir %{python_sitearch}/gi
@ -217,6 +218,9 @@ xvfb-run make DESTDIR=$RPM_BUILD_ROOT check V=1
%{_libdir}/pkgconfig/pygobject-3.0.pc
%changelog
* Thu Sep 14 2017 Kalev Lember <klember@redhat.com> - 3.24.1-5
- Rename python-gobject-base to python2-gobject-base as well
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.24.1-4
- Python 2 binary package renamed to python2-pygobject3
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3