summaryrefslogtreecommitdiff
path: root/python-linear-attention-transformer.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 00:58:01 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 00:58:01 +0000
commit86f1270fd910df5eae68ec915465fa975383d128 (patch)
tree0c4d4dee6318338448b8f0fa680a2ba4f0d41714 /python-linear-attention-transformer.spec
parent3b40714e74f67dae493e46a95dd6769e6dafc8e8 (diff)
automatic import of python-linear-attention-transformeropeneuler20.03
Diffstat (limited to 'python-linear-attention-transformer.spec')
-rw-r--r--python-linear-attention-transformer.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-linear-attention-transformer.spec b/python-linear-attention-transformer.spec
index d94cd48..4db9cde 100644
--- a/python-linear-attention-transformer.spec
+++ b/python-linear-attention-transformer.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Linear Attention Transformer
License: MIT
URL: https://github.com/lucidrains/linear-attention-transformer
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1a/f4/e7aedb94bc94583983d2371eb987943e000c82907a32a4353ba64881ebb0/linear_attention_transformer-0.19.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/1a/f4/e7aedb94bc94583983d2371eb987943e000c82907a32a4353ba64881ebb0/linear_attention_transformer-0.19.1.tar.gz
BuildArch: noarch
Requires: python3-axial-positional-embedding
@@ -34,7 +34,7 @@ Provides: python3-linear-attention-transformer-doc
%prep
-%autosetup -n linear-attention-transformer-0.19.1
+%autosetup -n linear_attention_transformer-0.19.1
%build
%py3_build
@@ -48,20 +48,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 .
@@ -74,5 +74,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.19.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.19.1-1
- Package Spec generated