summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 16:43:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 16:43:44 +0000
commit68071150df08b784c09335bd8a79c89c13fb0955 (patch)
treefa190eadddeed1f23b468fdd3f2ee48203779336
parent7c4bc45a37ccb35c2fe39b20aa716095cc382d92 (diff)
automatic import of python-lingua-nostraopeneuler20.03
-rw-r--r--python-lingua-nostra.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-lingua-nostra.spec b/python-lingua-nostra.spec
index 4199c9b..a7e036b 100644
--- a/python-lingua-nostra.spec
+++ b/python-lingua-nostra.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Lingua_Nostra is chatterbox's natural language parser, it converts natural language into data structures, and data structures into natural language!
License: Apache2.0
URL: https://github.com/HelloChatterbox/lingua-nostra
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d0/bd/ea3048caabf5b663acc6b7c39918ef65bc20358e4c232a17102959d6ccca/lingua_nostra-0.4.5.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/d0/bd/ea3048caabf5b663acc6b7c39918ef65bc20358e4c232a17102959d6ccca/lingua_nostra-0.4.5.tar.gz
BuildArch: noarch
@@ -130,7 +130,7 @@ extract_numbers("1 dog, seven pigs, macdonald had a farm, "
%prep
-%autosetup -n lingua-nostra-0.4.5
+%autosetup -n lingua_nostra-0.4.5
%build
%py3_build
@@ -144,20 +144,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 .
@@ -170,5 +170,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.5-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.5-1
- Package Spec generated