summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-urllib3.spec18
-rw-r--r--sources2
3 files changed, 10 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore
index 12edcb9..2a9c112 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/urllib3-2.0.4.tar.gz
+/urllib3-2.0.6.tar.gz
diff --git a/python-urllib3.spec b/python-urllib3.spec
index 6f5a09c..c8ee55e 100644
--- a/python-urllib3.spec
+++ b/python-urllib3.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-urllib3
-Version: 2.0.4
+Version: 2.0.6
Release: 1
Summary: HTTP library with thread-safe connection pooling, file post, and more.
License: MIT License
URL: https://pypi.org/project/urllib3/
-Source0: https://mirrors.aliyun.com/pypi/web/packages/31/ab/46bec149bbd71a4467a3063ac22f4486ecd2ceb70ae8c70d5d8e4c2a7946/urllib3-2.0.4.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/8b/00/db794bb94bf09cadb4ecd031c4295dd4e3536db4da958e20331d95f1edb7/urllib3-2.0.6.tar.gz
BuildArch: noarch
Requires: (python3-brotli>=1.0.9)
@@ -376,22 +376,20 @@ tools.
%prep
-%autosetup -n urllib3-2.0.4
+%autosetup -n urllib3-2.0.6
%build
-%py3_build
+%pyproject_build
%install
-%py3_install
+%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
-if [ -d usr/lib ]; then
- find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
-fi
+touch filelist.lst
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
@@ -410,11 +408,11 @@ mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-urllib3 -f filelist.lst
-%dir %{python3_sitelib}/*
+%{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
-* Fri Sep 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.4-1
+* Sat Oct 14 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.6-1
- Package Spec generated
diff --git a/sources b/sources
index 21ad918..a140ddb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5d541b944febe50221e24c31cd6e887d urllib3-2.0.4.tar.gz
+6ca3ae8220bf1df8697038b94fb6ea48 urllib3-2.0.6.tar.gz