!5 UpdatePackage

From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-11-03 11:17:06 +00:00 committed by Gitee
commit c774db7607
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 30 additions and 15 deletions

Binary file not shown.

BIN
priority-2.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,13 @@
Name: python-priority %global _empty_manifest_terminate_build 0
Version: 1.3.0 Name: python-priority
Release: 6 Version: 2.0.0
Summary: A pure-Python HTTP/2 Priority implementation Release: 1
License: MIT Summary: A pure-Python HTTP/2 Priority implementation
URL: http://python-hyper.org/priority/ License: MIT
Source0: https://files.pythonhosted.org/packages/ba/96/7d0b024087062418dfe02a68cd6b195399266ac002fb517aad94cc93e076/priority-1.3.0.tar.gz URL: https://github.com/python-hyper/priority/
BuildArch: noarch Source0: https://files.pythonhosted.org/packages/f5/3c/eb7c35f4dcede96fca1842dac5f4f5d15511aa4b52f3a961219e68ae9204/priority-2.0.0.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3dist(setuptools)
%{?python_enable_dependency_generator}
%description %description
A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the
@ -18,9 +16,11 @@ 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 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} Provides: python-priority = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-priority %description -n python3-priority
A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the A HTTP/2 Priority Implementation Priority is a pure-Python implementation of the
@ -29,6 +29,17 @@ 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 help
Summary: Development documents and examples for priority
Provides: python3-priority-doc
%description help
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.
%prep %prep
%autosetup -n priority-%{version} -p1 %autosetup -n priority-%{version} -p1
rm -rf priority.egg-info rm -rf priority.egg-info
@ -45,9 +56,12 @@ rm -rf priority.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%{python3_version}.egg-info %{python3_sitelib}/*.egg-info
%changelog %changelog
* Wed Nov 02 2022 wangjunqi <wangjunqi@kylinos.cn> - 2.0.0-1
- Update package to version 2.0.0
* Mon May 09 2022 yangping <yangping69@h-partners.com> - 1.3.0-6 * Mon May 09 2022 yangping <yangping69@h-partners.com> - 1.3.0-6
- Fix build error caused by py3.10+ wildcard - Fix build error caused by py3.10+ wildcard
@ -57,3 +71,4 @@ rm -rf priority.egg-info
* 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