diff --git a/h2-3.1.0.tar.gz b/h2-3.1.0.tar.gz deleted file mode 100644 index 363da7a..0000000 Binary files a/h2-3.1.0.tar.gz and /dev/null differ diff --git a/h2-4.0.0.tar.gz b/h2-4.0.0.tar.gz new file mode 100644 index 0000000..fd66cc0 Binary files /dev/null and b/h2-4.0.0.tar.gz differ diff --git a/python-h2.spec b/python-h2.spec index 9ecc633..4270675 100644 --- a/python-h2.spec +++ b/python-h2.spec @@ -1,13 +1,14 @@ Name: python-h2 -Version: 3.1.0 -Release: 5 +Version: 4.0.0 +Release: 1 Summary: A HTTP/2 protocol stack for Python License: MIT URL: http://hyper.rtfd.org -Source0: https://files.pythonhosted.org/packages/c9/08/109f814130177273afc06b1f9851084397c337b09cdc6f17172c00f3d02b/h2-3.1.0.tar.gz +Source0: https://files.pythonhosted.org/packages/05/b8/cc1692aab910c0319b7c35e03c043bdda1cfeff67fa25b555eb2864a36e3/h2-4.0.0.tar.gz BuildArch: noarch -BuildRequires: (python3dist(hpack) >= 2.3 with python3dist(hpack) < 4) (python3dist(hyperframe) with python3dist(hyperframe) < 6) +BuildRequires: (python3dist(hpack) >= 4 with python3dist(hpack) < 5) +BuildRequires: (python3dist(hyperframe) >= 6 with python3dist(hyperframe) < 7) BuildRequires: python3-devel python3dist(setuptools) python3dist(sphinx) python3dist(pytest) python3dist(hypothesis) BuildRequires: js-jquery js-underscore @@ -59,7 +60,7 @@ ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js %py3_install %check -%{__python3} -m pytest +PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest %files -n python3-h2 %doc README.rst LICENSE @@ -70,6 +71,9 @@ ln -s /usr/share/javascript/jquery/3.2.1/jquery.js html/_static/jquery-3.2.1.js %doc html LICENSE %changelog +* Wed Jul 28 2021 liyanan - 4.0.0-1 +- update to 4.0.0 + * Mon Oct 26 2020 maminjie - 3.1.0-5 - Drop python2 support