diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-08 21:43:09 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 21:43:09 +0000 |
| commit | 56b311a159b839f5bf1d551e69ca376dbd6afecc (patch) | |
| tree | b0a82cf03a5b2d85cbe12371b97a15d4bcbff8b8 /python-tokenizer-tools.spec | |
| parent | 5a9d04ea914ab462dad05f7033c5ec8ccec57715 (diff) | |
automatic import of python-tokenizer-toolsopeneuler20.03
Diffstat (limited to 'python-tokenizer-tools.spec')
| -rw-r--r-- | python-tokenizer-tools.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-tokenizer-tools.spec b/python-tokenizer-tools.spec index ae22bfc..764c460 100644 --- a/python-tokenizer-tools.spec +++ b/python-tokenizer-tools.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Tools for tokenizer develope and evaluation License: MIT license URL: https://github.com/howlandersonn/tokenizer_tools -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a1/ec/56971a0b4adb6286713ab6dc85792d87dafd544e58367e678f6baaf49f2f/tokenizer_tools-0.46.1.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/a1/ec/56971a0b4adb6286713ab6dc85792d87dafd544e58367e678f6baaf49f2f/tokenizer_tools-0.46.1.tar.gz BuildArch: noarch Requires: python3-Click @@ -39,7 +39,7 @@ Provides: python3-tokenizer-tools-doc 本软件提供了一种语料存储的磁盘文件格式(暂定名为 conllx)和内存对象格式(暂定名为 offset)。 %prep -%autosetup -n tokenizer-tools-0.46.1 +%autosetup -n tokenizer_tools-0.46.1 %build %py3_build @@ -53,20 +53,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 . @@ -79,5 +79,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.46.1-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.46.1-1 - Package Spec generated |
