Python2 binary package has been removed

epel9
Zbigniew Jędrzejewski-Szmek 6 years ago
parent 4755dc89b5
commit c6439c588f

@ -2,7 +2,7 @@
Name: python-%{modname}
Version: 0.6.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Simple data validation library
License: MIT
@ -18,17 +18,6 @@ converted from JSON/YAML (or something else) to Python data-types.
%description %{_description}
%package -n python2-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python2-%{modname}}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-pytest
%description -n python2-%{modname} %{_description}
Python 2 version.
%package -n python3-%{modname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{modname}}
@ -44,23 +33,14 @@ Python 3 version.
%autosetup -n %{modname}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%check
py.test-%{python2_version} -v
py.test-%{python3_version} -v
%files -n python2-%{modname}
%license LICENSE-MIT
%doc README.rst
%{python2_sitelib}/%{modname}-*.egg-info/
%{python2_sitelib}/%{modname}.py*
%files -n python3-%{modname}
%license LICENSE-MIT
%doc README.rst
@ -69,6 +49,10 @@ py.test-%{python3_version} -v
%{python3_sitelib}/__pycache__/%{modname}.*
%changelog
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.8-2
- Python2 binary package has been removed
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
* Tue Jul 24 2018 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.6.8-1
- Update to 0.6.8

Loading…
Cancel
Save