diff --git a/python-justbytes.spec b/python-justbytes.spec index 6b89658..a56328c 100644 --- a/python-justbytes.spec +++ b/python-justbytes.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.11 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library for handling computation with address ranges in bytes License: GPLv2+ @@ -17,22 +17,6 @@ a configurable way to extract the representation of a value. %description %{_description} -%package -n python2-%{srcname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{srcname}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools -BuildRequires: python2-pytest -BuildRequires: python2-hypothesis -BuildRequires: python2-justbases -BuildRequires: python2-six -Requires: python2-justbases -Requires: python2-six - -%description -n python2-%{srcname} %{_description} - -Python 2 version. - %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} @@ -54,23 +38,14 @@ Python 3 version. rm -rf justbytes.egg-info %build -%py2_build %py3_build %install -%py2_install %py3_install %check -PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version} -v tests PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests -%files -n python2-%{srcname} -%license LICENSE -%doc README.rst -%{python2_sitelib}/justbytes/ -%{python2_sitelib}/justbytes-%{version}-*.egg-info/ - %files -n python3-%{srcname} %license LICENSE %doc README.rst @@ -78,6 +53,10 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests %{python3_sitelib}/justbytes-%{version}-*.egg-info/ %changelog +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.11-5 +- Subpackage python2-justbytes has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Jul 14 2018 Fedora Release Engineering - 0.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild