summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 00:10:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 00:10:30 +0000
commit7a5bdfd0e41bb1a0d2d7af0175a631723aaf8597 (patch)
tree76218c82a2532c99c9d0cb816ac9ad9b688df436
parent8ea9808b94d3a8247f52df1f82ab004cb5c59223 (diff)
automatic import of python-czmodelopeneuler20.03
-rw-r--r--python-czmodel.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-czmodel.spec b/python-czmodel.spec
index a63a910..1aa6f27 100644
--- a/python-czmodel.spec
+++ b/python-czmodel.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A conversion tool for TensorFlow or ONNX ANNs to CZANN
License: Apache Software License
URL: https://pypi.org/project/czmodel/
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f8/c1/254db1f6b4276d0872638ab525e126598af5068cf7455400a4d04cf0e51d/czmodel-5.0.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f8/c1/254db1f6b4276d0872638ab525e126598af5068cf7455400a4d04cf0e51d/czmodel-5.0.0.tar.gz
BuildArch: noarch
Requires: python3-onnx
@@ -1213,20 +1213,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 .
@@ -1239,5 +1239,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 5.0.0-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 5.0.0-1
- Package Spec generated