diff options
Diffstat (limited to 'python-urllib3.spec')
-rw-r--r-- | python-urllib3.spec | 18 |
1 files changed, 8 insertions, 10 deletions
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 |