diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 15:08:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 15:08:10 +0000 |
commit | 07a81497d15c966fb68a7c82f69f51d5fc404773 (patch) | |
tree | bf0b36ffc22cd770c8301b8487833a6e572d49cc | |
parent | 43783dc3ad282e9d5968e7e265d459a0b22ea48c (diff) |
automatic import of python-corona-apiopeneuler20.03
-rw-r--r-- | python-corona-api.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-corona-api.spec b/python-corona-api.spec index 7940646..1e407ef 100644 --- a/python-corona-api.spec +++ b/python-corona-api.spec @@ -5,7 +5,7 @@ Release: 1 Summary: An asynchronous wrapper for the corona.lmao.ninja API written in Python. License: MIT URL: https://github.com/apex2504/python-corona-api -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5c/e0/67c68fe134d1ff0674dbbcb88c30328d93a168629c6dab43b37d08beef53/corona_api-0.9.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/5c/e0/67c68fe134d1ff0674dbbcb88c30328d93a168629c6dab43b37d08beef53/corona_api-0.9.0.tar.gz BuildArch: noarch @@ -1378,7 +1378,7 @@ asyncio.get_event_loop().run_until_complete(get_country_gov()) Due to the fact that each country's governmental/official statistics website is different, it is not feasible to create a standardised class for the data. However, if you interpret the data received from the API, it should be relatively simple to work with the given information. %prep -%autosetup -n corona-api-0.9.0 +%autosetup -n corona_api-0.9.0 %build %py3_build @@ -1392,20 +1392,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 . @@ -1418,5 +1418,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.0-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.0-1 - Package Spec generated |