Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package redfish-finder for openSUSE:Factory 
checked in at 2021-03-03 18:35:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/redfish-finder (Old)
 and      /work/SRC/openSUSE:Factory/.redfish-finder.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "redfish-finder"

Wed Mar  3 18:35:16 2021 rev:3 rq:876416 version:0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/redfish-finder/redfish-finder.changes    
2020-11-17 21:27:40.437517924 +0100
+++ /work/SRC/openSUSE:Factory/.redfish-finder.new.2378/redfish-finder.changes  
2021-03-03 18:35:18.983395309 +0100
@@ -1,0 +2,8 @@
+Wed Mar  3 08:31:35 UTC 2021 - Pablo Su??rez Hern??ndez 
<pablo.suarezhernan...@suse.com>
+
+- Fix parsing HostConfig for DHCP (bsc#1182765)
+
+- Added:
+  * fix_parsing_HostConfig_for_dhcp.patch
+
+-------------------------------------------------------------------

New:
----
  fix_parsing_HostConfig_for_dhcp.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ redfish-finder.spec ++++++
--- /var/tmp/diff_new_pack.QKuyYq/_old  2021-03-03 18:35:19.603395620 +0100
+++ /var/tmp/diff_new_pack.QKuyYq/_new  2021-03-03 18:35:19.607395622 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package redfish-finder
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,9 @@
 URL:            https://github.com/nhorman/redfish-finder
 Source0:        redfish-finder-0.4.tar.gz
 Patch0:         python_path.patch
+# PATCH-FIX_UPSTREAM: https://github.com/nhorman/redfish-finder/pull/3
+Patch1:         fix_parsing_HostConfig_for_dhcp.patch
+
 BuildRequires:  python3
 Requires:       NetworkManager
 Requires:       dmidecode
@@ -40,6 +43,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 #noop here

++++++ fix_parsing_HostConfig_for_dhcp.patch ++++++
>From 581327fd45351dd53c06a26517bb7f92e19d8f31 Mon Sep 17 00:00:00 2001
From: Charles Rose <charles.r...@dell.com>
Date: Mon, 31 Aug 2020 17:40:08 -0500
Subject: [PATCH] fix parsing HostConfig for DHCP

assigntype.append(AssignType.DHCP) fails for DHCP because
assigntype [] is not set.

Signed-off-by: Charles Rose <charles.r...@dell.com>
---
 redfish-finder | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100644 => 100755 redfish-finder

diff --git a/redfish-finder b/redfish-finder
old mode 100644
new mode 100755
index 9a185b3..461eff9
--- a/redfish-finder
+++ b/redfish-finder
@@ -123,8 +123,8 @@ class HostConfig():
                        cursor = cursor_consume_next(cursor, "Host IP 
Assignment Type: ")
                        if cursor == None:
                                raise RuntimeError("redfish-finder: Unable to 
parse SMBIOS Host IP Assignment Type")
+                       self.assigntype = []
                        if cursor.split()[0] == "Static":
-                               self.assigntype = []
                                self.assigntype.append(AssignType.STATIC)
                                cursor = cursor_consume_next(cursor, "Host IP 
Address Format: ")
                                if cursor.split()[0] == "IPv4":

Reply via email to