summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 09:40:44 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 09:40:44 +0000
commit51137da2d7338bea20aaf4a40b44975090c6fff5 (patch)
tree9c10251f44ba6235246b08f9e40e781b3a097709
parent56877d4e7c5396ac641a88584d488a4908fdae77 (diff)
automatic import of python-p1monitoropeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-p1monitor.spec21
-rw-r--r--sources2
3 files changed, 14 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index b78f01f..f9ed1af 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/p1monitor-2.3.0.tar.gz
+/p1monitor-2.3.1.tar.gz
diff --git a/python-p1monitor.spec b/python-p1monitor.spec
index c63b0bf..7196279 100644
--- a/python-p1monitor.spec
+++ b/python-p1monitor.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-p1monitor
-Version: 2.3.0
+Version: 2.3.1
Release: 1
Summary: Asynchronous Python client for the P1 Monitor
License: MIT
URL: https://github.com/klaasnicolaas/python-p1monitor
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/de/af/12367f95e482250cf7a0620d44cb420a363da018ea2b0dc1760a9424c707/p1monitor-2.3.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/ab/1c/430d6551414a9ee294b88eb572ebd2d8d9f6540da3b4c18f50c6030a0942/p1monitor-2.3.1.tar.gz
BuildArch: noarch
Requires: python3-aiohttp
@@ -216,6 +216,7 @@ SOFTWARE.
[pre-commit]: https://pre-commit.com
+
%package -n python3-p1monitor
Summary: Asynchronous Python client for the P1 Monitor
Provides: python-p1monitor
@@ -427,6 +428,7 @@ SOFTWARE.
[pre-commit]: https://pre-commit.com
+
%package help
Summary: Development documents and examples for p1monitor
Provides: python3-p1monitor-doc
@@ -635,8 +637,9 @@ SOFTWARE.
[pre-commit]: https://pre-commit.com
+
%prep
-%autosetup -n p1monitor-2.3.0
+%autosetup -n p1monitor-2.3.1
%build
%py3_build
@@ -650,20 +653,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 .
@@ -676,5 +679,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.3.1-1
- Package Spec generated
diff --git a/sources b/sources
index 16d069e..7f9992b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-14407db4dda4471aecb84d7937125c5e p1monitor-2.3.0.tar.gz
+b3d219246272ec309bae11e062af2168 p1monitor-2.3.1.tar.gz