summaryrefslogtreecommitdiff
path: root/python-thermoworks-smoke.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 12:09:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 12:09:50 +0000
commitfe983405555e7c4a6713969064d727c47b93e417 (patch)
tree1a59f43b556c7590c0d55d6d627d5a85ec818a22 /python-thermoworks-smoke.spec
parentb46babc19300c329702d99a486a8af1d36488329 (diff)
automatic import of python-thermoworks-smokeopeneuler20.03
Diffstat (limited to 'python-thermoworks-smoke.spec')
-rw-r--r--python-thermoworks-smoke.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-thermoworks-smoke.spec b/python-thermoworks-smoke.spec
index 0ea8a95..4613d7a 100644
--- a/python-thermoworks-smoke.spec
+++ b/python-thermoworks-smoke.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Pull data for your thermoworks smoke thermometer
License: GPLv3
URL: https://github.com/nhorvath/python-thermoworks-smoke
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7d/60/e2f3b71020eada429acbd7a0de779a916e9eb5ec43f3f319f53cb3c14545/thermoworks_smoke-0.1.8.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7d/60/e2f3b71020eada429acbd7a0de779a916e9eb5ec43f3f319f53cb3c14545/thermoworks_smoke-0.1.8.tar.gz
BuildArch: noarch
Requires: python3-pyrebase4
@@ -197,7 +197,7 @@ for serial in serials:
%prep
-%autosetup -n thermoworks-smoke-0.1.8
+%autosetup -n thermoworks_smoke-0.1.8
%build
%py3_build
@@ -211,20 +211,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 .
@@ -237,5 +237,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.8-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.8-1
- Package Spec generated