summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 08:46:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 08:46:20 +0000
commit7c850dbbeb07486846236712ad8398b4b3afad41 (patch)
tree024da17584fb78d3c8cf7edb0612edc6c28077e5
parent401d2872f2d8f363b30734bd535e59d4e4c03ee4 (diff)
automatic import of python-champopeneuler20.03
-rw-r--r--python-champ.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-champ.spec b/python-champ.spec
index 9166935..e8626cd 100644
--- a/python-champ.spec
+++ b/python-champ.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Modularity based networks partition selection tool
License: GPLv3+
URL: http://github.com/wweir827/champ
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e6/5f/d6a8bddcc4a436a6e6104166aa627e97a3aae1fbee7352426e9b44d97e3b/champ-2.1.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/e6/5f/d6a8bddcc4a436a6e6104166aa627e97a3aae1fbee7352426e9b44d97e3b/champ-2.1.1.tar.gz
BuildArch: noarch
Requires: python3-matplotlib
@@ -53,20 +53,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 .
@@ -79,5 +79,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.1-1
- Package Spec generated