summaryrefslogtreecommitdiff
path: root/python-gym-craftingworld.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 22:47:43 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 22:47:43 +0000
commit2ac524e80e3b152167b8c6caf7438972a67be524 (patch)
tree183913a278639e446436ceb25272fb7f0bd01ff6 /python-gym-craftingworld.spec
parent894ae2c64940848fe95e4a03fccf3bb1b844a82c (diff)
automatic import of python-gym-craftingworldopeneuler20.03
Diffstat (limited to 'python-gym-craftingworld.spec')
-rw-r--r--python-gym-craftingworld.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-gym-craftingworld.spec b/python-gym-craftingworld.spec
index fff9e5f..baf638e 100644
--- a/python-gym-craftingworld.spec
+++ b/python-gym-craftingworld.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A gym package for the 2d crafting multitask world
License: MIT License
URL: https://github.com/lauradarcy/gym-craftingworld
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/37/19/253d2805355632783cdc984cae1258991a96332229403a26a1e49d2bc9b2/gym_craftingworld-0.1.9.8.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/37/19/253d2805355632783cdc984cae1258991a96332229403a26a1e49d2bc9b2/gym_craftingworld-0.1.9.8.tar.gz
BuildArch: noarch
Requires: python3-gym
@@ -170,7 +170,7 @@ To store each episode as a gif, call `env.allow_gif_storage()`, which will store
%prep
-%autosetup -n gym-craftingworld-0.1.9.8
+%autosetup -n gym_craftingworld-0.1.9.8
%build
%py3_build
@@ -184,20 +184,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 .
@@ -210,5 +210,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.9.8-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.9.8-1
- Package Spec generated