Drop python2 support
This commit is contained in:
parent
cd7a0f7938
commit
8f907ff9ad
@ -1,13 +1,13 @@
|
|||||||
Name: python-priority
|
Name: python-priority
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A pure-Python HTTP/2 Priority implementation
|
Summary: A pure-Python HTTP/2 Priority implementation
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://python-hyper.org/priority/
|
URL: http://python-hyper.org/priority/
|
||||||
Source0: https://files.pythonhosted.org/packages/ba/96/7d0b024087062418dfe02a68cd6b195399266ac002fb517aad94cc93e076/priority-1.3.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/ba/96/7d0b024087062418dfe02a68cd6b195399266ac002fb517aad94cc93e076/priority-1.3.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python2-devel python2dist(setuptools) python3-devel python3dist(setuptools)
|
BuildRequires: python3-devel python3dist(setuptools)
|
||||||
|
|
||||||
%{?python_enable_dependency_generator}
|
%{?python_enable_dependency_generator}
|
||||||
|
|
||||||
@ -18,17 +18,6 @@ This logic allows for clients to express a preference for how the server allocat
|
|||||||
its (limited) resources to the many outstanding HTTP requests that may be running
|
its (limited) resources to the many outstanding HTTP requests that may be running
|
||||||
over a single HTTP/2 connection.
|
over a single HTTP/2 connection.
|
||||||
|
|
||||||
%package -n python2-priority
|
|
||||||
Summary: A pure-Python HTTP/2 Priority implementation
|
|
||||||
%{?python_provide:%python_provide python2-priority}
|
|
||||||
|
|
||||||
%description -n python2-priority
|
|
||||||
A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the
|
|
||||||
priority logic for HTTP/2, set out in RFC 7540 Section 5.3 (Stream Priority)_.
|
|
||||||
This logic allows for clients to express a preference for how the server allocates
|
|
||||||
its (limited) resources to the many outstanding HTTP requests that may be running
|
|
||||||
over a single HTTP/2 connection.
|
|
||||||
|
|
||||||
%package -n python3-priority
|
%package -n python3-priority
|
||||||
Summary: A pure-Python HTTP/2 Priority implementation
|
Summary: A pure-Python HTTP/2 Priority implementation
|
||||||
%{?python_provide:%python_provide python3-priority}
|
%{?python_provide:%python_provide python3-priority}
|
||||||
@ -45,28 +34,22 @@ over a single HTTP/2 connection.
|
|||||||
rm -rf priority.egg-info
|
rm -rf priority.egg-info
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
|
|
||||||
%files -n python2-priority
|
|
||||||
%doc README.rst LICENSE
|
|
||||||
%{python2_sitelib}/priority
|
|
||||||
%{python2_sitelib}/priority-%{version}-py?.?.egg-info
|
|
||||||
|
|
||||||
%files -n python3-priority
|
%files -n python3-priority
|
||||||
%doc README.rst LICENSE
|
%doc README.rst LICENSE
|
||||||
%{python3_sitelib}/priority
|
%{python3_sitelib}/priority
|
||||||
%{python3_sitelib}/priority-%{version}-py?.?.egg-info
|
%{python3_sitelib}/priority-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 22 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 1.3.0-5
|
||||||
|
- Drop python2 support
|
||||||
* Thu Feb 27 2020 xuping <xuping21@huawei.com> - 1.3.0-4
|
* Thu Feb 27 2020 xuping <xuping21@huawei.com> - 1.3.0-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user