diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 08:07:18 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 08:07:18 +0000 |
commit | 1555170f18ffe16d55ff3832381bc8b4d35eb91a (patch) | |
tree | 061231e18a81683677a8c713fd13a830488b5c42 | |
parent | d29abbed09c95577317bb04f78708782bc98cf79 (diff) |
automatic import of python-pythonic-bertopeneuler20.03
-rw-r--r-- | python-pythonic-bert.spec | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/python-pythonic-bert.spec b/python-pythonic-bert.spec index 8c586d6..a8a70ef 100644 --- a/python-pythonic-bert.spec +++ b/python-pythonic-bert.spec @@ -5,7 +5,7 @@ Release: 1 Summary: a package for your bert using License: Apache License 2.0 URL: https://github.com/boss2020/pytorch-transformer -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/05/33/6c702eafac23d1fc965aa29585a75623418d8faedfceadb57c510ebad141/pythonic-bert-1.8.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/05/33/6c702eafac23d1fc965aa29585a75623418d8faedfceadb57c510ebad141/pythonic-bert-1.8.0.tar.gz BuildArch: noarch @@ -42,20 +42,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 . @@ -68,5 +68,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.0-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.8.0-1 - Package Spec generated |