summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 11:43:03 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 11:43:03 +0000
commit75d02fda637b080eb6d35150ec60c825c4286286 (patch)
tree8a9dbf398e7486f5a5ecd571a55dde5b622f755d
parente17fb27d964675bc09b5516f93c2965edef98b01 (diff)
automatic import of python-poke-envopeneuler20.03
-rw-r--r--python-poke-env.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-poke-env.spec b/python-poke-env.spec
index 1f3b3e4..a6412ac 100644
--- a/python-poke-env.spec
+++ b/python-poke-env.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A python interface for training Reinforcement Learning bots to battle on pokemon showdown.
License: MIT
URL: https://github.com/hsahovic/poke-env
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4b/8a/aa696b396c27bec71794f788fb14b3cfdb5c994f21d73dba3b1e43225fbf/poke_env-0.6.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/4b/8a/aa696b396c27bec71794f788fb14b3cfdb5c994f21d73dba3b1e43225fbf/poke_env-0.6.0.tar.gz
BuildArch: noarch
Requires: python3-gym
@@ -322,7 +322,7 @@ Data files are adapted version of the `js` data files of [Pokemon Showdown](http
%prep
-%autosetup -n poke-env-0.6.0
+%autosetup -n poke_env-0.6.0
%build
%py3_build
@@ -336,20 +336,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 .
@@ -362,5 +362,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.0-1
- Package Spec generated