summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 06:46:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 06:46:21 +0000
commit1384daae9e7f509ab74fd49ff2b24c0adaf13b20 (patch)
tree633bdd3bb23a3bc0d20a89dabc26ff982db359ed
parent11f056125c21ec28e0733bd8e3c6b68194b9af14 (diff)
automatic import of python-spacy-conllopeneuler20.03
-rw-r--r--python-spacy-conll.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-spacy-conll.spec b/python-spacy-conll.spec
index be2d8ba..6eed767 100644
--- a/python-spacy-conll.spec
+++ b/python-spacy-conll.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A custom pipeline component for spaCy that can convert any parsed Doc and its sentences into CoNLL-U format. Also provides a command line entry point.
License: BSD 2
URL: https://github.com/BramVanroy/spacy_conll
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/47/d7/d44f97e01ab22c2c21b0c7c6d581c5888a4049dfd2c249f3ee5f3b44426b/spacy_conll-3.4.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/47/d7/d44f97e01ab22c2c21b0c7c6d581c5888a4049dfd2c249f3ee5f3b44426b/spacy_conll-3.4.0.tar.gz
BuildArch: noarch
Requires: python3-spacy
@@ -1040,7 +1040,7 @@ The first version of this library was inspired by initial work by [rgalhama](htt
%prep
-%autosetup -n spacy-conll-3.4.0
+%autosetup -n spacy_conll-3.4.0
%build
%py3_build
@@ -1054,20 +1054,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 .
@@ -1080,5 +1080,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 3.4.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 3.4.0-1
- Package Spec generated