summaryrefslogtreecommitdiff
path: root/python-cleantext-tn.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 20:43:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 20:43:21 +0000
commitcac6fc1d2bf63f9b1b4a16c460b86c692e573ea2 (patch)
treec51cbb2b6ceba3e3d0e139397b6227852b158b8c /python-cleantext-tn.spec
parent4ff9ca8f24377093a06d3f179e24b090ace54d53 (diff)
automatic import of python-cleantext-tnopeneuler20.03
Diffstat (limited to 'python-cleantext-tn.spec')
-rw-r--r--python-cleantext-tn.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-cleantext-tn.spec b/python-cleantext-tn.spec
index d92fa9c..f7271ee 100644
--- a/python-cleantext-tn.spec
+++ b/python-cleantext-tn.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Clean text package
License: MIT License
URL: https://github.com/minhthu6521/clean-text
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/46/8f/a4a0d016a1fca8b880045feac646cc10a606a26d343592ea8da7527620b2/cleantext-tn-0.0.7.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/46/8f/a4a0d016a1fca8b880045feac646cc10a606a26d343592ea8da7527620b2/cleantext-tn-0.0.7.tar.gz
BuildArch: noarch
Requires: python3-nltk
@@ -64,20 +64,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 .
@@ -90,5 +90,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.7-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.7-1
- Package Spec generated