diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-08 09:33:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 09:33:58 +0000 |
commit | 4751aa6ef37ba197f5b1d57f53e8e1b224082def (patch) | |
tree | ef9ff89240644edc4c5058851f7383589f959d5c | |
parent | 700612a8759e639447f02340f2f07309c7d6327c (diff) |
automatic import of python-fast-bertopeneuler20.03
-rw-r--r-- | python-fast-bert.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-fast-bert.spec b/python-fast-bert.spec index 99d7aa7..763983f 100644 --- a/python-fast-bert.spec +++ b/python-fast-bert.spec @@ -5,7 +5,7 @@ Release: 1 Summary: AI Library using BERT License: Apache2 URL: https://github.com/kaushaltrivedi/fast-bert -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ab/b3/1421b3627acb871a0d842a50765aa72f4f486548c6813338c471bd65513b/fast_bert-2.0.10.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/ab/b3/1421b3627acb871a0d842a50765aa72f4f486548c6813338c471bd65513b/fast_bert-2.0.10.tar.gz BuildArch: noarch Requires: python3-matplotlib @@ -1353,7 +1353,7 @@ Also include my blogs on this topic: %prep -%autosetup -n fast-bert-2.0.10 +%autosetup -n fast_bert-2.0.10 %build %py3_build @@ -1367,20 +1367,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 . @@ -1393,5 +1393,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.10-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.0.10-1 - Package Spec generated |