summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 13:43:22 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 13:43:22 +0000
commit3ed157aeb27262ae191cc1f1be5b71a7cccc1d7c (patch)
tree22a9b3901060f589efc35327aa20eeb20a499ffa
parent5ea45dc1236bd5cdf8a72c92b3f431ca7f6bc777 (diff)
automatic import of python-ncnnopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-ncnn.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 87249a6..4ff4763 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/ncnn-1.0.20230223.tar.gz
+/ncnn-1.0.20230517.tar.gz
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
diff --git a/sources b/sources
index 817a2f3..be8d327 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b76cb016fc6396a8167e13fd92337831 ncnn-1.0.20230223.tar.gz
+9fef1ed054bfd7947c09134695a84fc2 ncnn-1.0.20230517.tar.gz