summaryrefslogtreecommitdiff
path: root/python-cluster-tools.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 20:48:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 20:48:08 +0000
commita29bb1eb2e3bfac4b398c0fdff2e49cdcb352532 (patch)
treeaed9e0d511aec0f9b8fdf3c2ecbf342234ad6242 /python-cluster-tools.spec
parent50b3cb7783a1defa205fa91ccda790928fccdf90 (diff)
automatic import of python-cluster-toolsopeneuler20.03
Diffstat (limited to 'python-cluster-tools.spec')
-rw-r--r--python-cluster-tools.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-cluster-tools.spec b/python-cluster-tools.spec
index a26a2c1..abd2960 100644
--- a/python-cluster-tools.spec
+++ b/python-cluster-tools.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Utility library for easily distributing code execution on clusters
License: MIT
URL: https://github.com/scalableminds/cluster_tools
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f1/c8/cfa558d3aa9a9e9a7b5d923e1008b8553c75e12df34ecec1666b038ba0d1/cluster_tools-1.61.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f1/c8/cfa558d3aa9a9e9a7b5d923e1008b8553c75e12df34ecec1666b038ba0d1/cluster_tools-1.61.tar.gz
BuildArch: noarch
@@ -28,7 +28,7 @@ Provides: python3-cluster-tools-doc
%prep
-%autosetup -n cluster-tools-1.61
+%autosetup -n cluster_tools-1.61
%build
%py3_build
@@ -42,20 +42,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 .
@@ -68,5 +68,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.61-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.61-1
- Package Spec generated