diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 09:07:27 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 09:07:27 +0000 |
commit | 1bcfcc8e0b2e8f2d5a7804e041774c826cc6112a (patch) | |
tree | aa051bd07c37ffb8bc8558eed54ce7f0a22e6238 | |
parent | 8f113f76c766c7e11014896b936d2368fe31164d (diff) |
automatic import of python-chinese-whispersopeneuler20.03
-rw-r--r-- | python-chinese-whispers.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-chinese-whispers.spec b/python-chinese-whispers.spec index c8de895..f7bd45e 100644 --- a/python-chinese-whispers.spec +++ b/python-chinese-whispers.spec @@ -5,7 +5,7 @@ Release: 1 Summary: An implementation of the Chinese Whispers clustering algorithm. License: MIT URL: https://github.com/nlpub/chinese-whispers-python -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1b/1d/816d337e9dd30f0948c86266b00d47fb2a4cc15c0bcdcb450575f3f7dfaa/chinese_whispers-0.8.1.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/1b/1d/816d337e9dd30f0948c86266b00d47fb2a4cc15c0bcdcb450575f3f7dfaa/chinese_whispers-0.8.1.tar.gz BuildArch: noarch Requires: python3-networkx @@ -215,7 +215,7 @@ Copyright (c) 2018–2022 [Dmitry Ustalov](https://github.com/dustalov). See %prep -%autosetup -n chinese-whispers-0.8.1 +%autosetup -n chinese_whispers-0.8.1 %build %py3_build @@ -229,20 +229,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 . @@ -255,5 +255,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.1-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.1-1 - Package Spec generated |