summaryrefslogtreecommitdiff
path: root/python-udi-interface.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:08:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:08:41 +0000
commitd1857b159674b93937d2dd871c43827528f5f164 (patch)
treed05dcf9d0ef7b5e38811f74c135af975b67ff513 /python-udi-interface.spec
parentf151dc8ccea9c2c4c2206f47d94ca80485a6f65f (diff)
automatic import of python-udi-interfaceopeneuler20.03
Diffstat (limited to 'python-udi-interface.spec')
-rw-r--r--python-udi-interface.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-udi-interface.spec b/python-udi-interface.spec
index c261f52..82b9d7b 100644
--- a/python-udi-interface.spec
+++ b/python-udi-interface.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: UDI Python Interface for Polyglot version 3
License: MIT
URL: https://github.com/UniversalDevicesInc/udi_python_interface
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/67/ba/4b8ff4ac787bfe30289a00a2dcd0052790536217ba8814f6eaa65f40bacb/udi_interface-3.0.59.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/67/ba/4b8ff4ac787bfe30289a00a2dcd0052790536217ba8814f6eaa65f40bacb/udi_interface-3.0.59.tar.gz
BuildArch: noarch
Requires: python3-paho-mqtt
@@ -169,7 +169,7 @@ By default when the Polyglot Python Interface is started up the logging is in WA
%prep
-%autosetup -n udi-interface-3.0.59
+%autosetup -n udi_interface-3.0.59
%build
%py3_build
@@ -183,20 +183,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 .
@@ -209,5 +209,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.59-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.59-1
- Package Spec generated