Restore python2 subpackage on F29 and F30

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2019-08-05 10:12:05 -04:00
parent 4f9e7c2722
commit 975fde4f40
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3
1 changed files with 18 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: libmodulemd1
Version: 1.8.15
Release: 3%{?dist}
Release: 3%{?dist}.1
Summary: Module metadata manipulation library
License: MIT
@ -40,12 +40,22 @@ Summary: Python 3.6 bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python%{python3_pkgversion}-gobject-base
Obsoletes: python3-modulemd < 1.3.4
Obsoletes: python2-%{name} < 1.8.15-3
%description -n python%{python3_pkgversion}-%{name}
Python 3 bindings for %{name}
%package -n python2-%{name}
Summary: Python 2 bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python2-gobject-base
Obsoletes: python2-modulemd < 1.3.4
Obsoletes: python2-%{name} < 1.8.15-4
%description -n python2-%{name}
Python 2 bindings for %{name}
%package devel
Summary: Development files for libmodulemd
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -111,7 +121,13 @@ export MMD_SKIP_VALGRIND=1
%files -n python%{python3_pkgversion}-%{name}
%files -n python2-%{name}
%changelog
* Mon Aug 05 2019 Stephen Gallagher <sgallagh@redhat.com> - 1.8.15-3.1
- Restore python2 subpackage on F29 and F30
* Tue Jul 30 2019 Stephen Gallagher <sgallagh@redhat.com> - 1.8.15-3
- Drop python2 subpackage