summaryrefslogtreecommitdiff
path: root/python-onyx-client.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:54:40 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:54:40 +0000
commitca5e2a57a78e68e3326bb5c25034cf4fe7ef239f (patch)
tree94e6df70b63deb7b1275ef8722fac59e46eb4948 /python-onyx-client.spec
parent3d39fe60aacb349a4ba56fcfcb23963281f8a70c (diff)
automatic import of python-onyx-clientopeneuler20.03
Diffstat (limited to 'python-onyx-client.spec')
-rw-r--r--python-onyx-client.spec30
1 files changed, 15 insertions, 15 deletions
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