summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 09:55:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 09:55:00 +0000
commit707c5826d862fd58bc9e2300d821f26fb02c555b (patch)
tree0bef1bd257fe695567864724846d374467679b80
parentfb86edd507670b4dcced29faf28edd4bb06b6cb9 (diff)
automatic import of python-py-nightscoutopeneuler20.03
-rw-r--r--python-py-nightscout.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-py-nightscout.spec b/python-py-nightscout.spec
index 501b9a6..cf277a8 100644
--- a/python-py-nightscout.spec
+++ b/python-py-nightscout.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A library that provides a Python async interface to Nightscout
License: MIT
URL: https://github.com/marciogranzotto/py-nightscout
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/cb/b1/84674ad7e5215da7ee68c273b70f709992b31ee3b1c8f7c14a72abc3db44/py_nightscout-1.3.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/cb/b1/84674ad7e5215da7ee68c273b70f709992b31ee3b1c8f7c14a72abc3db44/py_nightscout-1.3.3.tar.gz
BuildArch: noarch
Requires: python3-dateutil
@@ -67,7 +67,7 @@ You can add your Nigthscoult URL and `API_TOKEN` and run this script to start us
%prep
-%autosetup -n py-nightscout-1.3.3
+%autosetup -n py_nightscout-1.3.3
%build
%py3_build
@@ -81,20 +81,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 .
@@ -107,5 +107,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.3-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.3-1
- Package Spec generated