diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-08 12:52:19 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 12:52:19 +0000 |
| commit | 1809edc235bc98019e1f1a2264898eca6f8c05af (patch) | |
| tree | 4c2dfe48b81eb4ab16f4fe33d172b6ba935dad22 | |
| parent | f210cf4a0ed02ec07fae09f03e8d15f333cf7595 (diff) | |
automatic import of python-nba-apiopeneuler20.03
| -rw-r--r-- | python-nba-api.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-nba-api.spec b/python-nba-api.spec index ffdeb57..b6b9190 100644 --- a/python-nba-api.spec +++ b/python-nba-api.spec @@ -5,7 +5,7 @@ Release: 1 Summary: An API Client package to access the APIs for NBA.com License: MIT URL: https://github.com/swar/nba_api -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/03/a4/fdfdb5573effb7efbf09a77c8568a582552d828a5b2aedcc01331a91b6e1/nba_api-1.2.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/03/a4/fdfdb5573effb7efbf09a77c8568a582552d828a5b2aedcc01331a91b6e1/nba_api-1.2.tar.gz BuildArch: noarch Requires: python3-requests @@ -342,7 +342,7 @@ NBA.com has a [Terms of Use](https://www.nba.com/termsofuse) regarding the use o %prep -%autosetup -n nba-api-1.2 +%autosetup -n nba_api-1.2 %build %py3_build @@ -356,20 +356,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 . @@ -382,5 +382,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2-1 - Package Spec generated |
