summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 09:07:48 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 09:07:48 +0000
commite0818ca3ba2505329ae901130806c2c6448488c5 (patch)
treeb9918828a3010f04244d618014cb8f388114305a
parentfa0cc160ad48a85800b1c22aece3de4dc9e63060 (diff)
automatic import of python-aime-detector-sdkopeneuler20.03
-rw-r--r--python-aime-detector-sdk.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-aime-detector-sdk.spec b/python-aime-detector-sdk.spec
index ef44f83..9a5c92d 100644
--- a/python-aime-detector-sdk.spec
+++ b/python-aime-detector-sdk.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Base module for human detection
License: MIT License
URL: https://github.com/jarklee/aime_detector_sdk
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4e/42/113a31d58b9e8b3f27e3f8b2a7868d91e72ee69b940991f7b94e715e7873/aime_detector_sdk-0.1.5.post5.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/4e/42/113a31d58b9e8b3f27e3f8b2a7868d91e72ee69b940991f7b94e715e7873/aime_detector_sdk-0.1.5.post5.tar.gz
BuildArch: noarch
Requires: python3-opencv-python
@@ -38,7 +38,7 @@ This module use for aimereception software base detector module only
%prep
-%autosetup -n aime-detector-sdk-0.1.5.post5
+%autosetup -n aime_detector_sdk-0.1.5.post5
%build
%py3_build
@@ -52,20 +52,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 .
@@ -78,5 +78,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.5.post5-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.5.post5-1
- Package Spec generated