summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 07:05:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 07:05:54 +0000
commita8c0dbc3566d7b6f277eb4674a77545b0883d25c (patch)
treef73eb45322427e50058aafb195a8f23cf97166b1
parentd439aa4e39d65bcb31bed69e017602f084f65946 (diff)
automatic import of python-keba-kecontactopeneuler20.03
-rw-r--r--python-keba-kecontact.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-keba-kecontact.spec b/python-keba-kecontact.spec
index 297e2c0..4e160b2 100644
--- a/python-keba-kecontact.spec
+++ b/python-keba-kecontact.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A python library to communicate with the KEBA charging stations via udp
License: MIT License
URL: https://github.com/dannerph/keba-kecontact
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/fc/a4/f0c91103ee3e5bcb79f5ad2f2293dc935790685bd620c88e5219a534a206/keba_kecontact-3.0.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/fc/a4/f0c91103ee3e5bcb79f5ad2f2293dc935790685bd620c88e5219a534a206/keba_kecontact-3.0.3.tar.gz
BuildArch: noarch
Requires: python3-asyncio-dgram
@@ -234,7 +234,7 @@ Parameters:
%prep
-%autosetup -n keba-kecontact-3.0.3
+%autosetup -n keba_kecontact-3.0.3
%build
%py3_build
@@ -248,20 +248,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 .
@@ -274,5 +274,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.3-1
- Package Spec generated