summaryrefslogtreecommitdiff
path: root/python-snntorch.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-snntorch.spec')
-rw-r--r--python-snntorch.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/python-snntorch.spec b/python-snntorch.spec
index 3b1f738..1413d57 100644
--- a/python-snntorch.spec
+++ b/python-snntorch.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-snntorch
-Version: 0.6.2
+Version: 0.6.4
Release: 1
Summary: Deep learning with spiking neural networks.
License: MIT License
URL: https://github.com/jeshraghian/snntorch
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d1/35/ebd551f85cbe9668863262cac4533148c9e65b4495d6df30fae0daf220f6/snntorch-0.6.2.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/26/15/9ce74231273b5a3b134ae9850a4460e44f9126eeb5a1dfb79de820075f34/snntorch-0.6.4.tar.gz
BuildArch: noarch
Requires: python3-torch
@@ -32,7 +32,7 @@ Provides: python3-snntorch-doc
%prep
-%autosetup -n snntorch-0.6.2
+%autosetup -n snntorch-0.6.4
%build
%py3_build
@@ -46,20 +46,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 .
@@ -72,5 +72,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.2-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.4-1
- Package Spec generated