summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 03:47:24 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 03:47:24 +0000
commit531ca93fa2d5f76ee6d4c2acd5de1150db7e0091 (patch)
tree9e4789585e4f67c05b30be6f7a3e5aa00c3556d0
parent13a7944a9960259c009d6826f97a424602c6e5ef (diff)
automatic import of python-ai-integrationopeneuler20.03
-rw-r--r--python-ai-integration.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-ai-integration.spec b/python-ai-integration.spec
index f3cd1a6..6d865ab 100644
--- a/python-ai-integration.spec
+++ b/python-ai-integration.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: AI Model Integration for python
License: Apache 2.0
URL: https://github.com/deepai-org/ai_integration
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2e/a0/1a4f1a7bee6838afae38528b11e8ab8039b9355e6f01e580d501adc69045/ai_integration-1.0.16.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/2e/a0/1a4f1a7bee6838afae38528b11e8ab8039b9355e6f01e580d501adc69045/ai_integration-1.0.16.tar.gz
BuildArch: noarch
Requires: python3-Pillow
@@ -705,7 +705,7 @@ See existing modes for examples.
%prep
-%autosetup -n ai-integration-1.0.16
+%autosetup -n ai_integration-1.0.16
%build
%py3_build
@@ -719,20 +719,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 .
@@ -745,5 +745,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.16-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.16-1
- Package Spec generated