summaryrefslogtreecommitdiff
path: root/python-lotte.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 08:26:01 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 08:26:01 +0000
commit945e9d97ec5a1fa4b56c32c6bf5998328bff8f4d (patch)
treeea25a93465048e34a8b0532281cbc779c30a844f /python-lotte.spec
parent7a3b32b9e38ee0c2d6fb37369bebc6c36b50b25b (diff)
automatic import of python-lotteopeneuler20.03
Diffstat (limited to 'python-lotte.spec')
-rw-r--r--python-lotte.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-lotte.spec b/python-lotte.spec
index cec19ed..ead5e45 100644
--- a/python-lotte.spec
+++ b/python-lotte.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Lotte is a tool for quotation detection in texts and can deal with common properties of quotations, for example, ellipses or inaccurate quotations.
License: Apache Software License
URL: https://pypi.org/project/quid/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a2/86/7b72908461900ce08d1410b301ac729451e768bd366508e798f6a8e6c17d/Lotte-1.3.4.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/a2/86/7b72908461900ce08d1410b301ac729451e768bd366508e798f6a8e6c17d/Lotte-1.3.4.tar.gz
BuildArch: noarch
Requires: python3-numpy
@@ -52,20 +52,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 .
@@ -78,5 +78,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.4-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.4-1
- Package Spec generated