summaryrefslogtreecommitdiff
path: root/python-http-request-response.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 21:24:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 21:24:54 +0000
commit80b791309f5d9b5749ee355da2063dc4d8b27a15 (patch)
treec0d1afa4c3a87201f8dc6bd9d36900fd7dd191fc /python-http-request-response.spec
parent6d4dbb54845e4fb93ed2f8334bac586e99838d91 (diff)
automatic import of python-http-request-responseopeneuler20.03
Diffstat (limited to 'python-http-request-response.spec')
-rw-r--r--python-http-request-response.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-http-request-response.spec b/python-http-request-response.spec
index 071aa14..048b68e 100644
--- a/python-http-request-response.spec
+++ b/python-http-request-response.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: The main target of this library is to standardize the request response in case of using flask-restplus library.
License: MIT
URL: https://github.com/Quakingaspen-codehub/http_request_response
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ca/f1/44f8f20401fafbc678f7b5fb210e8b474f2a5c304ff8735ad3ba0eef29de/http_request_response-0.0.25.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/ca/f1/44f8f20401fafbc678f7b5fb210e8b474f2a5c304ff8735ad3ba0eef29de/http_request_response-0.0.25.tar.gz
BuildArch: noarch
Requires: python3-http-status-code
@@ -224,7 +224,7 @@ This library is licensed under the MIT License - see the [LICENSE.md](LICENSE) f
%prep
-%autosetup -n http-request-response-0.0.25
+%autosetup -n http_request_response-0.0.25
%build
%py3_build
@@ -238,20 +238,20 @@ 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
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
- find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
- find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
- find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
- find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -264,5 +264,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.25-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.25-1
- Package Spec generated