diff --git a/hyperframe-5.1.0.tar.gz b/hyperframe-5.1.0.tar.gz deleted file mode 100644 index 30e7135..0000000 Binary files a/hyperframe-5.1.0.tar.gz and /dev/null differ diff --git a/hyperframe-5.2.0.tar.gz b/hyperframe-5.2.0.tar.gz new file mode 100644 index 0000000..116922a Binary files /dev/null and b/hyperframe-5.2.0.tar.gz differ diff --git a/python-hyperframe.spec b/python-hyperframe.spec index fd5ee28..11cda50 100644 --- a/python-hyperframe.spec +++ b/python-hyperframe.spec @@ -1,39 +1,41 @@ Name: python-hyperframe -Version: 5.1.0 -Release: 4 +Version: 5.2.0 +Release: 2 Summary: HTTP/2 framing layer for Python + License: MIT URL: https://github.com/python-hyper/hyperframe -Source0: https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-5.1.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/h/hyperframe/hyperframe-5.2.0.tar.gz BuildArch: noarch - -BuildRequires: python2-devel python2dist(setuptools) python3-devel python3dist(setuptools) + +BuildRequires: python2-devel python2dist(setuptools) python2dist(pytest) +BuildRequires: python3-devel python3dist(setuptools) python3dist(pytest) %{?python_enable_dependency_generator} %description -This library contains the HTTP/2 framing code userd in the hyper projece.It provides a pure-python -codebase that is capable of decoding a binary stream into HTTP/2 frames. +This library contains the HTTP/2 framing code used in the hyper project.It provides a +pure-python codebase that is capable of decoding a binary stream into HTTP/2 frames. %package -n python2-hyperframe Summary: HTTP/2 framing layer for Python %{?python_provide:%python_provide python2-hyperframe} %description -n python2-hyperframe -This library contains the HTTP/2 framing code userd in the hyper projece.It provides a pure-python -codebase that is capable of decoding a binary stream into HTTP/2 frames. +This library contains the HTTP/2 framing code used in the hyper project.It provides a +pure-python codebase that is capable of decoding a binary stream into HTTP/2 frames. %package -n python3-hyperframe Summary: HTTP/2 framing layer for Python %{?python_provide:%python_provide python3-hyperframe} %description -n python3-hyperframe -This library contains the HTTP/2 framing code userd in the hyper projece.It provides a pure-python -codebase that is capable of decoding a binary stream into HTTP/2 frames. +This library contains the HTTP/2 framing code used in the hyper project.It provides a +pure-python codebase that is capable of decoding a binary stream into HTTP/2 frames. %prep %autosetup -n hyperframe-%{version} -rm -rf %{pypi_name}.egg-info +rm -rf hyperframe.egg-info %build %py2_build @@ -44,20 +46,21 @@ rm -rf %{pypi_name}.egg-info %py3_install %check -%{__python2} setup.py test -%{__python3} setup.py test +%{__python2} -m pytest +%{__python3} -m pytest %files -n python2-hyperframe %doc README.rst LICENSE %{python2_sitelib}/hyperframe %{python2_sitelib}/hyperframe-%{version}-py?.?.egg-info - %files -n python3-hyperframe %doc README.rst LICENSE %{python3_sitelib}/hyperframe %{python3_sitelib}/hyperframe-%{version}-py?.?.egg-info %changelog +* Tue Mar 10 2020 zhangtao - 5.2.0-2 +- Package update * Fri Mar 6 2020 zhangtao - 5.1.0-4 - Package init