summaryrefslogtreecommitdiff
path: root/python-wilds.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:46:57 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:46:57 +0000
commit9bbd3d55c1876a553d5c4799f4381c138bb4d9df (patch)
tree1cc3e8cefe98bdc482aaab67d3e2661751e7d16f /python-wilds.spec
parentcb21361e4966cfc1e0c8da621f9fe12bd5259505 (diff)
automatic import of python-wildsopeneuler20.03
Diffstat (limited to 'python-wilds.spec')
-rw-r--r--python-wilds.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-wilds.spec b/python-wilds.spec
index 691ee76..3df0a10 100644
--- a/python-wilds.spec
+++ b/python-wilds.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: WILDS distribution shift benchmark
License: MIT
URL: https://wilds.stanford.edu
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f3/8d/cbba978dd734a05b35eba69eac8b10ffe0e9c84a074d732f81ddb55e586d/wilds-2.0.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f3/8d/cbba978dd734a05b35eba69eac8b10ffe0e9c84a074d732f81ddb55e586d/wilds-2.0.0.tar.gz
BuildArch: noarch
Requires: python3-numpy
@@ -845,20 +845,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 .
@@ -871,5 +871,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.0-1
- Package Spec generated