drop python2 subpackage

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-10-07 11:01:51 +02:00
parent 457cda5a14
commit 5c0340bae9
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -2,7 +2,7 @@
Name: python-%{modname}
Version: 0.1.4
Release: 6%{?dist}
Release: 7%{?dist}
Summary: ISO639-2 support for Python
License: MIT
@ -14,17 +14,6 @@ BuildArch: noarch
%description
A simple (really simple) library for working with ISO639-2 language codes.
%package -n python2-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{modname}}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%description -n python2-%{modname}
A simple (really simple) library for working with ISO639-2 language codes.
Python 2 version.
%package -n python3-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{modname}}
@ -40,19 +29,11 @@ Python 3 version.
%autosetup -n %{modname}-python-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-%{modname}
%license LICENSE
%doc README.md
%{python2_sitelib}/%{modname}-*.egg-info/
%{python2_sitelib}/%{modname}/
%files -n python3-%{modname}
%license LICENSE
%doc README.md
@ -60,6 +41,9 @@ Python 3 version.
%{python3_sitelib}/%{modname}/
%changelog
* Sun Oct 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-7
- Drop python2 subpackage
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild