From e3a333302b567191a44007b582b5523c22258726 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 8 Jun 2023 14:10:42 +0000 Subject: automatic import of python-a-api-server --- python-a-api-server.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'python-a-api-server.spec') 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 - 1.1.5-1 +* Thu Jun 08 2023 Python_Bot - 1.1.5-1 - Package Spec generated -- cgit v1.2.3