summaryrefslogtreecommitdiff
path: root/python-a-api-server.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 14:10:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 14:10:42 +0000
commite3a333302b567191a44007b582b5523c22258726 (patch)
tree78100e8f54eb1c9e934970e2053dbb1de7161104 /python-a-api-server.spec
parent8c9f5277dbfc8b065ca9189200e7b4aa007b8f13 (diff)
automatic import of python-a-api-serveropeneuler20.03
Diffstat (limited to 'python-a-api-server.spec')
-rw-r--r--python-a-api-server.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-a-api-server.spec b/python-a-api-server.spec
index babe21a..82b7369 100644
--- a/python-a-api-server.spec
+++ b/python-a-api-server.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: 自建一个Resful风格的接口自助服务,方便API自动化测试工具的开发与调试!
License: MIT
URL: https://github.com/zhuifengshen/a-api-server
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b8/09/e79f7c02b7ed55f76cbd2f47c6c0c2c40603b2bf0e99db502f703477a2f0/A_Api_Server-1.1.5.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/b8/09/e79f7c02b7ed55f76cbd2f47c6c0c2c40603b2bf0e99db502f703477a2f0/A_Api_Server-1.1.5.tar.gz
BuildArch: noarch
Requires: python3-flask
@@ -782,7 +782,7 @@ SOFTWARE.
```
%prep
-%autosetup -n A-Api-Server-1.1.5
+%autosetup -n A_Api_Server-1.1.5
%build
%py3_build
@@ -796,20 +796,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 .
@@ -822,5 +822,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.5-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.5-1
- Package Spec generated