summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 17:58:45 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 17:58:45 +0000
commit11d5b6e373fcfc5f6196b7a63edd270db80016c6 (patch)
treeba00930032c05870737b41fdd3b8ca4ce4b5d327
parent744de50a2efc2ea46681ba3cff74f2d8a1ec193b (diff)
automatic import of python-openmodule-testopeneuler20.03
-rw-r--r--python-openmodule-test.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-openmodule-test.spec b/python-openmodule-test.spec
index 380fbca..7024303 100644
--- a/python-openmodule-test.spec
+++ b/python-openmodule-test.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Libraries for testing openmodule services
License: GNU General Public License v2 (GPLv2)
URL: https://gitlab.com/arivo-public/device-python/openmodule.git
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/16/11/a86e32ab68d5ad9b978b99955a587f5bdc5b5065020de223cc03c0e89811/openmodule_test-11.0.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/16/11/a86e32ab68d5ad9b978b99955a587f5bdc5b5065020de223cc03c0e89811/openmodule_test-11.0.3.tar.gz
BuildArch: noarch
Requires: python3-multiprocessing-logging
@@ -31,7 +31,7 @@ Provides: python3-openmodule-test-doc
%prep
-%autosetup -n openmodule-test-11.0.3
+%autosetup -n openmodule_test-11.0.3
%build
%py3_build
@@ -45,20 +45,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 .
@@ -71,5 +71,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 11.0.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 11.0.3-1
- Package Spec generated