summaryrefslogtreecommitdiff
path: root/python-rl-for-reco.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 18:43:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 18:43:53 +0000
commita3e366457ca3023d41aaef4e4a18ea775c4cb7ca (patch)
treeb477fa4abb8ac97afb420a848f3787a6688600e4 /python-rl-for-reco.spec
parent1cbd2e55572eb887c06d234d38dae2dce2777afc (diff)
automatic import of python-rl-for-recoopeneuler20.03
Diffstat (limited to 'python-rl-for-reco.spec')
-rw-r--r--python-rl-for-reco.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-rl-for-reco.spec b/python-rl-for-reco.spec
index b406e8a..0421b7f 100644
--- a/python-rl-for-reco.spec
+++ b/python-rl-for-reco.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A Python toolkit of Deep Reinforcement Learning for Structured Data-Oriented Recommendation.
License: MIT
URL: https://github.com/gowun/RL_for_reco.git
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5c/33/639db20d859e99c2aa15f81ea30b1c09dcb8552dcba2223761088fa4dae8/RL_for_reco-1.0.27.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/5c/33/639db20d859e99c2aa15f81ea30b1c09dcb8552dcba2223761088fa4dae8/RL_for_reco-1.0.27.tar.gz
BuildArch: noarch
Requires: python3-torch
@@ -34,7 +34,7 @@ Provides: python3-RL-for-reco-doc
%prep
-%autosetup -n RL-for-reco-1.0.27
+%autosetup -n RL_for_reco-1.0.27
%build
%py3_build
@@ -48,20 +48,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 .
@@ -74,5 +74,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.27-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.27-1
- Package Spec generated