summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-onyx-client.spec30
-rw-r--r--sources2
3 files changed, 17 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore
index f992a49..2950dea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/onyx_client-6.0.0.tar.gz
+/onyx_client-7.0.0.tar.gz
diff --git a/python-onyx-client.spec b/python-onyx-client.spec
index e94d65b..3844c7e 100644
--- a/python-onyx-client.spec
+++ b/python-onyx-client.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-onyx-client
-Version: 6.0.0
+Version: 7.0.0
Release: 1
Summary: HTTP Client for Hella's ONYX.CENTER API.
License: MIT
URL: https://github.com/muhlba91/onyx-client
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/65/cd/b71d2335e42a3efc6c22251c4a513dfc63b700c647cedcb29b27a8ad73f1/onyx_client-6.0.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/6a/53/bc32526d1dafc412b6792942a26ae4ba69d37c86a7d0bd01460ce70a0502/onyx_client-7.0.0.tar.gz
BuildArch: noarch
Requires: python3-aiohttp
@@ -16,8 +16,8 @@ It is encouraged to always update Hella devices to the latest software. This wil
API. In below table you can find an indication of what Hella API version is supported.
| Hella API Version | Client Version |
|-------------------|-------------------|
-| v3 | > = 3.1.0 < 6.0.0 |
-| v2 | > = 2.5.0 < 3.0.0 |
+| v3 | >= 3.1.0 |
+| v2 | >= 2.5.0 < 3.0.0 |
## Installation
The package is published in **(Test)PyPi** and can be installed via:
```bash
@@ -65,8 +65,8 @@ It is encouraged to always update Hella devices to the latest software. This wil
API. In below table you can find an indication of what Hella API version is supported.
| Hella API Version | Client Version |
|-------------------|-------------------|
-| v3 | > = 3.1.0 < 6.0.0 |
-| v2 | > = 2.5.0 < 3.0.0 |
+| v3 | >= 3.1.0 |
+| v2 | >= 2.5.0 < 3.0.0 |
## Installation
The package is published in **(Test)PyPi** and can be installed via:
```bash
@@ -111,8 +111,8 @@ It is encouraged to always update Hella devices to the latest software. This wil
API. In below table you can find an indication of what Hella API version is supported.
| Hella API Version | Client Version |
|-------------------|-------------------|
-| v3 | > = 3.1.0 < 6.0.0 |
-| v2 | > = 2.5.0 < 3.0.0 |
+| v3 | >= 3.1.0 |
+| v2 | >= 2.5.0 < 3.0.0 |
## Installation
The package is published in **(Test)PyPi** and can be installed via:
```bash
@@ -149,7 +149,7 @@ client = create(config=config, client_session=client_session) if client_session
```
%prep
-%autosetup -n onyx-client-6.0.0
+%autosetup -n onyx_client-7.0.0
%build
%py3_build
@@ -163,20 +163,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 .
@@ -189,5 +189,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 6.0.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 7.0.0-1
- Package Spec generated
diff --git a/sources b/sources
index c1b06c3..66063f8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-81e82e2c96bc3c2cd8dc27dafeeee7be onyx_client-6.0.0.tar.gz
+d6e5e26e40bb9f00ba47155d7540daff onyx_client-7.0.0.tar.gz