summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 07:40:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 07:40:16 +0000
commit06811b0b2cea04f1bec4b3717578142707fd0053 (patch)
tree7be55107c5590b4d5cd0d5e51722871ceef19c0a
parent405e56c10dbb0d7b8e219ffdc95d1bdfc5b92234 (diff)
automatic import of python-hanlp-commonopeneuler20.03
-rw-r--r--python-hanlp-common.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-hanlp-common.spec b/python-hanlp-common.spec
index f7ab9c6..084f034 100644
--- a/python-hanlp-common.spec
+++ b/python-hanlp-common.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: HanLP: Han Language Processing
License: Apache License 2.0
URL: https://github.com/hankcs/HanLP
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5e/2e/fce8bc00e68c563aebca4bf845cb15807e50440c0a62fe79ad875e9e21bc/hanlp_common-0.0.19.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/5e/2e/fce8bc00e68c563aebca4bf845cb15807e50440c0a62fe79ad875e9e21bc/hanlp_common-0.0.19.tar.gz
BuildArch: noarch
@@ -85,7 +85,7 @@ HanLP is licensed under **Apache License 2.0**. You can use HanLP in your commer
%prep
-%autosetup -n hanlp-common-0.0.19
+%autosetup -n hanlp_common-0.0.19
%build
%py3_build
@@ -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
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.19-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.19-1
- Package Spec generated