Hello community, here is the log from the commit of package fcoe-utils for openSUSE:Factory checked in at 2020-07-17 20:46:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcoe-utils (Old) and /work/SRC/openSUSE:Factory/.fcoe-utils.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcoe-utils" Fri Jul 17 20:46:49 2020 rev:19 rq:821148 version:1.0.33 Changes: -------- --- /work/SRC/openSUSE:Factory/fcoe-utils/fcoe-utils.changes 2020-06-11 14:47:22.061848441 +0200 +++ /work/SRC/openSUSE:Factory/.fcoe-utils.new.3592/fcoe-utils.changes 2020-07-17 20:47:35.708715378 +0200 @@ -1,0 +2,7 @@ +Wed Jul 15 17:24:06 UTC 2020 - Lee Duncan <ldun...@suse.com> + +- Handle NIC names longer than 7 characters for the output of + "fcoeadm -s" output (bsc#1010047), adding patch: + * Handle-NIC-names-longer-than-7-characters.patch + +------------------------------------------------------------------- New: ---- Handle-NIC-names-longer-than-7-characters.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcoe-utils.spec ++++++ --- /var/tmp/diff_new_pack.gtu5o2/_old 2020-07-17 20:47:38.776718648 +0200 +++ /var/tmp/diff_new_pack.gtu5o2/_new 2020-07-17 20:47:38.784718656 +0200 @@ -37,6 +37,7 @@ License: GPL-2.0-only Group: System/Daemons Source: %{name}-%{version}.tar.xz +Patch1: Handle-NIC-names-longer-than-7-characters.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} @@ -47,6 +48,7 @@ %prep %setup -q +%patch1 -p1 %build autoreconf -vi ++++++ Handle-NIC-names-longer-than-7-characters.patch ++++++ >From e2392944cc779b2305bdbb7e6b9d9bb57d5398ee Mon Sep 17 00:00:00 2001 From: Lee Duncan <ldun...@suse.com> Date: Tue, 9 Jun 2020 11:22:50 -0700 Subject: [PATCH] Handle NIC names longer than 7 characters. The output of "fcoeadm -s" assumed a short NIC name, so handle up to 15 characters, the current standard. --- fcoeadm_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fcoeadm_display.c b/fcoeadm_display.c index f7e6c43806ad..7d29422e91fa 100644 --- a/fcoeadm_display.c +++ b/fcoeadm_display.c @@ -455,7 +455,7 @@ static void scan_device_map(char *rport, enum disp_style style) static void show_port_stats_header(const char *ifname, int interval) { printf("\n"); - printf("%-7s interval: %-2d Err Inv " + printf("%-15s interval: %-2d Err Inv " "IvTx Link Cntl Input Input Output Output\n", ifname, interval); printf("Seconds TxFrames TxBytes RxFrames RxBytes " @@ -893,7 +893,7 @@ static void print_interface_fcoe_lesb_stats_header(const char *ifname, int interval) { printf("\n"); - printf("%-7s interval: %-2d\n", ifname, interval); + printf("%-15s interval: %-2d\n", ifname, interval); printf("LinkFail VLinkFail MissFKA SymbErr ErrBlkCnt FCSErrCnt\n"); printf("-------- --------- ------- ------- --------- ---------\n"); } -- 2.26.2