summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 16:26:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 16:26:14 +0000
commitac849c3ad0c4b1ab46a16df991afa13759723fd8 (patch)
treee1941168bf4821f59443fd688ae085d87850c629
parentd66608b616001b662344a85c80c7d33081fb78de (diff)
automatic import of python-happy-learningopeneuler20.03
-rw-r--r--python-happy-learning.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-happy-learning.spec b/python-happy-learning.spec
index c025738..2892da0 100644
--- a/python-happy-learning.spec
+++ b/python-happy-learning.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Toolbox for reinforced developing of machine learning models (as proof-of-concept)
License: GNU
URL: https://github.com/GianniBalistreri/happy_learning
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/9a/40/70cb3eba749057af04b42d868831ed4cec2c5216c018d2c4b66d5c236ed3/happy_learning-0.5.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/9a/40/70cb3eba749057af04b42d868831ed4cec2c5216c018d2c4b66d5c236ed3/happy_learning-0.5.0.tar.gz
BuildArch: noarch
Requires: python3-catboost
@@ -656,7 +656,7 @@ Check the methodology.pdf for the documentation and jupyter notebook for example
%prep
-%autosetup -n happy-learning-0.5.0
+%autosetup -n happy_learning-0.5.0
%build
%py3_build
@@ -670,20 +670,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 .
@@ -696,5 +696,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.0-1
- Package Spec generated