summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 02:58:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 02:58:50 +0000
commita0c8a08e920d89b6f461dba6a9daf7fe25a41de3 (patch)
tree73debd7a4cf92557a2db0b7360ba66d1edf27f22
parentc871cdf2ebe485989a91dc11326b26c3e60fa6dd (diff)
automatic import of python-petro-res-packopeneuler20.03
-rw-r--r--python-petro-res-pack.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-petro-res-pack.spec b/python-petro-res-pack.spec
index e93faee..aa92cb3 100644
--- a/python-petro-res-pack.spec
+++ b/python-petro-res-pack.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Package with gym-like env for petroleum reservoir simulation
License: MIT
URL: https://github.com/lemikhovalex/ReservoirModel
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/95/93/e48507dbdac7692e4c1ca349396b10844d9a4d89dddfdc3f73f90e415f21/petro_res_pack-0.8.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/95/93/e48507dbdac7692e4c1ca349396b10844d9a4d89dddfdc3f73f90e415f21/petro_res_pack-0.8.2.tar.gz
BuildArch: noarch
@@ -37,7 +37,7 @@ Package for simple modeling of reservoir in order to experiment with RL
%prep
-%autosetup -n petro-res-pack-0.8.2
+%autosetup -n petro_res_pack-0.8.2
%build
%py3_build
@@ -51,20 +51,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 .
@@ -77,5 +77,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.2-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.2-1
- Package Spec generated