change require chardet package version
This commit is contained in:
parent
98077e20de
commit
2c29798980
22
change-require-chardet-package-version.patch
Normal file
22
change-require-chardet-package-version.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -Nur a/aiohttp.egg-info/requires.txt b/aiohttp.egg-info/requires.txt
|
||||
--- a/aiohttp.egg-info/requires.txt 2021-03-07 04:59:20.000000000 +0800
|
||||
+++ b/aiohttp.egg-info/requires.txt 2022-11-07 15:55:07.214419948 +0800
|
||||
@@ -1,5 +1,5 @@
|
||||
attrs>=17.3.0
|
||||
-chardet<5.0,>=2.0
|
||||
+chardet<=5.0,>=2.0
|
||||
multidict<7.0,>=4.5
|
||||
async_timeout<4.0,>=3.0
|
||||
yarl<2.0,>=1.0
|
||||
diff -Nur a/setup.py b/setup.py
|
||||
--- a/setup.py 2021-03-07 04:59:13.000000000 +0800
|
||||
+++ b/setup.py 2022-11-07 15:55:46.671059857 +0800
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
install_requires = [
|
||||
"attrs>=17.3.0",
|
||||
- "chardet>=2.0,<5.0",
|
||||
+ "chardet>=2.0,<=5.0",
|
||||
"multidict>=4.5,<7.0",
|
||||
"async_timeout>=3.0,<4.0",
|
||||
"yarl>=1.0,<2.0",
|
||||
@ -1,11 +1,12 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-aiohttp
|
||||
Version: 3.7.4
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Async http client/server framework (asyncio)
|
||||
License: Apache 2
|
||||
URL: https://github.com/aio-libs/aiohttp
|
||||
Source0: https://files.pythonhosted.org/packages/99/f5/90ede947a3ce2d6de1614799f5fea4e93c19b6520a59dc5d2f64123b032f/aiohttp-3.7.4.post0.tar.gz
|
||||
Patch0: change-require-chardet-package-version.patch
|
||||
|
||||
BuildRequires: python3-attrs
|
||||
BuildRequires: python3-chardet
|
||||
@ -36,7 +37,7 @@ Provides: python3-aiohttp-doc
|
||||
Development documents and examples for aiohttp.
|
||||
|
||||
%prep
|
||||
%autosetup -n aiohttp-3.7.4.post0
|
||||
%autosetup -n aiohttp-3.7.4.post0 -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -76,5 +77,8 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 7 2022 liyanan <liyanan32@h-partners.com> - 3.7.4-2
|
||||
- change chardet version to fix installed error
|
||||
|
||||
* Fri Jul 23 2021 wutao <wutao61@huawei.com> - 3.7.4-1
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user