diff --git a/python-h2.spec b/python-h2.spec index 98a7d3c..b7710ff 100644 --- a/python-h2.spec +++ b/python-h2.spec @@ -11,7 +11,7 @@ speak HTTP/2 regardless of your programming paradigm.} Name: python-%{pypi_name} Version: 3.1.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: HTTP/2 State-Machine based protocol implementation License: MIT @@ -19,13 +19,6 @@ URL: http://hyper.rtfd.org Source0: %pypi_source BuildArch: noarch -BuildRequires: python2-devel -BuildRequires: (python2dist(hpack) >= 2.3 with python2dist(hpack) < 4) -BuildRequires: (python2dist(hyperframe) >= 5.2 with python2dist(hyperframe) < 6) -BuildRequires: python2dist(setuptools) -BuildRequires: python2dist(pytest) -BuildRequires: python2dist(hypothesis) - BuildRequires: python3-devel BuildRequires: (python3dist(hpack) >= 2.3 with python3dist(hpack) < 4) BuildRequires: (python3dist(hyperframe) >= 5.2 with python3dist(hyperframe) < 6) @@ -46,14 +39,6 @@ BuildRequires: js-underscore %{common_description} -%package -n python2-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{pypi_name}} - -%description -n python2-%{pypi_name} -%{common_description} - - %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} @@ -83,7 +68,6 @@ rm -rf %{pypi_name}.egg-info %build -%py2_build %py3_build %if %{with docs} @@ -105,22 +89,13 @@ ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js %install -%py2_install %py3_install %check -%{__python2} -m pytest %{__python3} -m pytest -%files -n python2-%{pypi_name} -%license LICENSE -%doc README.rst -%{python2_sitelib}/%{pypi_name} -%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info - - %files -n python3-%{pypi_name} %license LICENSE %doc README.rst @@ -136,6 +111,10 @@ ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js %changelog +* Mon Sep 09 2019 Miro Hrončok - 3.1.0-6 +- Subpackage python2-h2 has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Sat Aug 17 2019 Miro Hrončok - 3.1.0-5 - Rebuilt for Python 3.8