summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 08:29:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 08:29:41 +0000
commitefd3f03d46833e8d260ded13bd8365dc8c7ec448 (patch)
treeb5e47690896c3865e66215dc8fe5b1d308944fcc
parent826e0a5a4430a744a080bb82884f8892c880fbdd (diff)
automatic import of python-solaxopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-solax.spec18
-rw-r--r--sources2
3 files changed, 11 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 7b96110..49ba11e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/solax-0.3.0.tar.gz
+/solax-0.3.1.tar.gz
diff --git a/python-solax.spec b/python-solax.spec
index 5247262..4edf876 100644
--- a/python-solax.spec
+++ b/python-solax.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-solax
-Version: 0.3.0
+Version: 0.3.1
Release: 1
Summary: Solax inverter API client
License: MIT
URL: https://github.com/squishykid/solax
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b9/d5/770418642d29c22183718f3ddecf03184b548e65727bf81973d4dcbfca75/solax-0.3.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/89/bb/4b52b9624cc0076891e0f10305579d99504ff3d022bedf8bb8608b77edb2/solax-0.3.1.tar.gz
BuildArch: noarch
Requires: python3-aiohttp
@@ -145,7 +145,7 @@ These inverters have been tested and confirmed to be working. If your inverter i
%prep
-%autosetup -n solax-0.3.0
+%autosetup -n solax-0.3.1
%build
%py3_build
@@ -159,20 +159,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 .
@@ -185,5 +185,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.1-1
- Package Spec generated
diff --git a/sources b/sources
index 470dde5..3d64a82 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6816f52e17de5751b5d135bdeca86cdb solax-0.3.0.tar.gz
+bda67c8c72c96e3438d2e396d0986331 solax-0.3.1.tar.gz