drop python2 subpackage
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
457cda5a14
commit
5c0340bae9
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 0.1.4
|
Version: 0.1.4
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: ISO639-2 support for Python
|
Summary: ISO639-2 support for Python
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -14,17 +14,6 @@ BuildArch: noarch
|
|||||||
%description
|
%description
|
||||||
A simple (really simple) library for working with ISO639-2 language codes.
|
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}
|
%package -n python3-%{modname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python3-%{modname}}
|
%{?python_provide:%python_provide python3-%{modname}}
|
||||||
@ -40,19 +29,11 @@ Python 3 version.
|
|||||||
%autosetup -n %{modname}-python-%{version}
|
%autosetup -n %{modname}-python-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%files -n python2-%{modname}
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
|
||||||
%{python2_sitelib}/%{modname}-*.egg-info/
|
|
||||||
%{python2_sitelib}/%{modname}/
|
|
||||||
|
|
||||||
%files -n python3-%{modname}
|
%files -n python3-%{modname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
@ -60,6 +41,9 @@ Python 3 version.
|
|||||||
%{python3_sitelib}/%{modname}/
|
%{python3_sitelib}/%{modname}/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user