summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 10:01:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 10:01:28 +0000
commitbe88f07a55c6b13e829e0b32862e455901876497 (patch)
treef622fe1bba204fc705f842583758d771321da720
parentce4ce124c4d24bc0237d54529bc6f1c4e5217683 (diff)
automatic import of python-pysmartyopeneuler20.03
-rw-r--r--python-pysmarty.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-pysmarty.spec b/python-pysmarty.spec
index 9e0e18a..86396dc 100644
--- a/python-pysmarty.spec
+++ b/python-pysmarty.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Python API for Salda Smarty Modbus TCP
License: MIT License
URL: https://github.com/z0mbieprocess/pysmarty
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/70/f1/156e1d77f777d3de4f88572e026d9f1f2f005f3088272d16da4cf2bf30a4/pysmarty-0.8.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/70/f1/156e1d77f777d3de4f88572e026d9f1f2f005f3088272d16da4cf2bf30a4/pysmarty-0.8.tar.gz
BuildArch: noarch
Requires: python3-pymodbus
@@ -76,20 +76,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 .
@@ -102,5 +102,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8-1
- Package Spec generated