summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 09:22:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 09:22:44 +0000
commitb91948798b3e36359a0084ce3f9b2f196b71f41e (patch)
tree5a0c520eaf889fccdfe4edd05e8ed87bda8df239
parent812dde151660df1acf70ffd54431ce509a8e40fb (diff)
automatic import of python-vallox-websocket-apiopeneuler20.03
-rw-r--r--python-vallox-websocket-api.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-vallox-websocket-api.spec b/python-vallox-websocket-api.spec
index 8d80a28..3232d09 100644
--- a/python-vallox-websocket-api.spec
+++ b/python-vallox-websocket-api.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Vallox WebSocket API
License: LGPL 3
URL: https://github.com/yozik04/vallox_websocket_api
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7b/e4/2ad8c44af6fd669c5c42a94519d4b9a1d9e9f9fc699b71c2ea20e7df0d8b/vallox_websocket_api-3.2.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7b/e4/2ad8c44af6fd669c5c42a94519d4b9a1d9e9f9fc699b71c2ea20e7df0d8b/vallox_websocket_api-3.2.1.tar.gz
BuildArch: noarch
Requires: python3-websockets
@@ -3330,7 +3330,7 @@ Basically all that you can get via Modbus connection
%prep
-%autosetup -n vallox-websocket-api-3.2.1
+%autosetup -n vallox_websocket_api-3.2.1
%build
%py3_build
@@ -3344,20 +3344,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 .
@@ -3370,5 +3370,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 3.2.1-1
- Package Spec generated