summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 01:07:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 01:07:16 +0000
commite1088501bc545d98e8ac0c02538b046c94ca3335 (patch)
tree3c3ab9457a4f924c699bb8914fde0eed4963bda7
parent90669af0dd46d452d3fa3472caf2a10ca941f531 (diff)
automatic import of python-clusteropeneuler20.03
-rw-r--r--python-cluster.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-cluster.spec b/python-cluster.spec
index db021e5..ff6882a 100644
--- a/python-cluster.spec
+++ b/python-cluster.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: please add a summary manually as the author left a blank one
License: LGPL
URL: https://github.com/exhuma/python-cluster
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/78/6e/ce37ab112e7f704df2c0b61cee544c3b1d49c54b9e43a1beff03a4a03d71/cluster-1.4.1.post3.linux-x86_64.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/78/6e/ce37ab112e7f704df2c0b61cee544c3b1d49c54b9e43a1beff03a4a03d71/cluster-1.4.1.post3.linux-x86_64.tar.gz
BuildArch: noarch
@@ -67,7 +67,7 @@ http://www.elet.polimi.it/upload/matteucc/Clustering/tutorial_html/
https://web.archive.org/web/20070912040206/http://home.dei.polimi.it//matteucc/Clustering/tutorial_html/
%prep
-%autosetup -n cluster-1.4.1.post3
+%autosetup -n cluster.linux-x86_64-1.4.1.post3
%build
%py3_build
@@ -81,20 +81,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 .
@@ -107,5 +107,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.1.post3-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.1.post3-1
- Package Spec generated