diff options
Diffstat (limited to 'python-ncnn.spec')
-rw-r--r-- | python-ncnn.spec | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/python-ncnn.spec b/python-ncnn.spec index 98f4d9c..a46e924 100644 --- a/python-ncnn.spec +++ b/python-ncnn.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-ncnn -Version: 1.0.20230223 +Version: 1.0.20230517 Release: 1 Summary: ncnn is a high-performance neural network inference framework optimized for the mobile platform License: BSD-3 URL: https://github.com/Tencent/ncnn -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/27/fc/c88e891b93801a4320e9201bb3ee049c2039ee7f8dc93224a9a314615457/ncnn-1.0.20230223.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/1d/8c/137de9f5f208fbbe2065803e985b8635e8ea085e481487316600e26c630f/ncnn-1.0.20230517.tar.gz Requires: python3-numpy Requires: python3-tqdm @@ -41,7 +41,7 @@ Provides: python3-ncnn-doc ## Telegram Group <https://t.me/ncnnyes> %prep -%autosetup -n ncnn-1.0.20230223 +%autosetup -n ncnn-1.0.20230517 %build %py3_build @@ -55,20 +55,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 . @@ -81,5 +81,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.20230223-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.20230517-1 - Package Spec generated |