Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-napalm-asa for
openSUSE:Factory checked in at 2022-08-26 09:08:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-napalm-asa (Old)
and /work/SRC/openSUSE:Factory/.python-napalm-asa.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-napalm-asa"
Fri Aug 26 09:08:14 2022 rev:4 rq:999338 version:0.1.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-napalm-asa/python-napalm-asa.changes
2021-09-08 21:37:06.437922936 +0200
+++
/work/SRC/openSUSE:Factory/.python-napalm-asa.new.2083/python-napalm-asa.changes
2022-08-26 09:08:16.801383885 +0200
@@ -1,0 +2,5 @@
+Thu Aug 25 08:08:17 UTC 2022 - Mark??ta Machov?? <[email protected]>
+
+- Add patch float-speed.patch (sent upstream)
+
+-------------------------------------------------------------------
New:
----
float-speed.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-napalm-asa.spec ++++++
--- /var/tmp/diff_new_pack.jL8KBT/_old 2022-08-26 09:08:17.209384302 +0200
+++ /var/tmp/diff_new_pack.jL8KBT/_new 2022-08-26 09:08:17.213384305 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-napalm-asa
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2019, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -27,6 +27,8 @@
License: Apache-2.0
URL: https://github.com/napalm-automation-community/napalm-asa
Source:
https://github.com/napalm-automation-community/napalm-asa/archive/v%{version}.tar.gz#/napalm-asa-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM
https://github.com/napalm-automation-community/napalm-asa/pull/33 float speed
+Patch0: float-speed.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -48,6 +50,7 @@
%prep
%setup -q -n napalm-asa-%{version}
+%autopatch -p1
%build
%python_build
++++++ float-speed.patch ++++++
Index: napalm-asa-0.1.4/napalm_asa/asa.py
===================================================================
--- napalm-asa-0.1.4.orig/napalm_asa/asa.py
+++ napalm-asa-0.1.4/napalm_asa/asa.py
@@ -334,7 +334,7 @@ class ASADriver(NetworkDriver):
"is_enabled": not int_info["shutdown"],
"description": int_info["interfaceDesc"],
"last_flapped": -1.0,
- "speed": 0,
+ "speed": 0.0,
"mtu": 0,
"mac_address": "",
}