summaryrefslogtreecommitdiff
path: root/python-sym-api-client-python.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-sym-api-client-python.spec')
-rw-r--r--python-sym-api-client-python.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-sym-api-client-python.spec b/python-sym-api-client-python.spec
index 00b6067..d3ea5a3 100644
--- a/python-sym-api-client-python.spec
+++ b/python-sym-api-client-python.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Symphony REST API - Python Client
License: MIT License
URL: https://github.com/SymphonyPlatformSolutions/symphony-api-client-python
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/43/f5/e8cc8b8c9471838fef33cfb8e5a71aad59c53b95a4d6dd2ab97e4502adf6/sym_api_client_python-1.3.7.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/43/f5/e8cc8b8c9471838fef33cfb8e5a71aad59c53b95a4d6dd2ab97e4502adf6/sym_api_client_python-1.3.7.tar.gz
BuildArch: noarch
Requires: python3-aiohttp
@@ -59,7 +59,7 @@ if sys.version_info[0] == 3 and sys.version_info[1] >= 8 and sys.platform.starts
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
%prep
-%autosetup -n sym-api-client-python-1.3.7
+%autosetup -n sym_api_client_python-1.3.7
%build
%py3_build
@@ -73,20 +73,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 .
@@ -99,5 +99,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.7-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.7-1
- Package Spec generated