summaryrefslogtreecommitdiff
path: root/python-lac.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 08:25:27 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 08:25:27 +0000
commit168c5b5cff92cc6469aeaeed3bd2b85019619608 (patch)
tree823782aa040cc7b50b95c09c3250852de1ed9cec /python-lac.spec
parent8a28086e0b42c755b1b2dba69d3c1466176d653f (diff)
automatic import of python-lacopeneuler20.03
Diffstat (limited to 'python-lac.spec')
-rw-r--r--python-lac.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-lac.spec b/python-lac.spec
index 1fe6fcb..cd16e01 100644
--- a/python-lac.spec
+++ b/python-lac.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A chinese lexical analysis tool by Baidu NLP.
License: Apache 2.0
URL: https://github.com/baidu/lac
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c3/88/966e99c95cac93730a7f3cdf92a17e2a0e924bea61b9a86ae7995feaa4fe/LAC-2.1.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/c3/88/966e99c95cac93730a7f3cdf92a17e2a0e924bea61b9a86ae7995feaa4fe/LAC-2.1.2.tar.gz
BuildArch: noarch
@@ -99,20 +99,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 .
@@ -125,5 +125,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.2-1
- Package Spec generated