Hello community, here is the log from the commit of package fcoe-utils for openSUSE:Leap:15.2 checked in at 2020-04-30 18:51:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/fcoe-utils (Old) and /work/SRC/openSUSE:Leap:15.2/.fcoe-utils.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "fcoe-utils" Thu Apr 30 18:51:19 2020 rev:10 rq:797520 version:1.0.32 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/fcoe-utils/fcoe-utils.changes 2020-01-15 14:54:45.209566445 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.fcoe-utils.new.2738/fcoe-utils.changes 2020-04-30 18:51:25.852596922 +0200 @@ -1,0 +2,18 @@ +Fri Apr 3 01:50:30 UTC 2020 - Lee Duncan <lduncan@suse.com> + +- Change use of "ifconfig" to "ip", since ifconfig is no + longer around (bsc#1073886), adding: + * fcoe-utils-stop-using-ifconfig.patch + +------------------------------------------------------------------- +Wed Jun 19 11:23:07 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org> + +- BuildRequire pkgconfig(libsystemd) instead of systemd-devel: + allow OBS to shortcut by using systemd-devel-mini. + +------------------------------------------------------------------- +Mon Jan 14 15:43:29 CET 2019 - kukuk@suse.de + +- Use %license instead of %doc [bsc#1082318] + +------------------------------------------------------------------- New: ---- fcoe-utils-stop-using-ifconfig.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcoe-utils.spec ++++++ --- /var/tmp/diff_new_pack.jWNsqp/_old 2020-04-30 18:51:26.596598507 +0200 +++ /var/tmp/diff_new_pack.jWNsqp/_new 2020-04-30 18:51:26.600598516 +0200 @@ -1,7 +1,7 @@ # # spec file for package fcoe-utils # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,29 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: fcoe-utils -Url: http://www.open-fcoe.org +URL: http://www.open-fcoe.org BuildRequires: autoconf BuildRequires: automake BuildRequires: libpciaccess-devel BuildRequires: libtool BuildRequires: open-lldp-devel BuildRequires: pkg-config -BuildRequires: systemd-devel +BuildRequires: pkgconfig(libsystemd) Requires: device-mapper Requires: iproute Requires: open-lldp -%systemd_requires +%systemd_ordering Version: 1.0.32 Release: 0 Summary: FCoE userspace management tools -License: GPL-2.0 -Group: System/Daemons # git://open-fcoe.org/fcoe/fcoe-utils.git +License: GPL-2.0-only +Group: System/Daemons Source0: %{name}-%{version}.tar.xz # Patches to be upstreamed @@ -45,6 +45,7 @@ Patch8: 0008-Use-correct-socket-for-fcoemon.socket.patch Patch9: 0009-disable-Werror-building.patch Patch12: 0012-fcoemon-Retry-fcm_link_getlink-on-EBUSY.patch +Patch15: %{name}-stop-using-ifconfig.patch # Patches from Fedora Patch101: fcoe-utils-1.0.29-make.patch @@ -64,6 +65,7 @@ %patch8 -p1 %patch9 -p1 %patch12 -p1 +%patch15 -p1 %patch101 -p1 %build @@ -106,7 +108,8 @@ %files %defattr(-,root,root,-) -%doc README COPYING QUICKSTART +%license COPYING +%doc README QUICKSTART %{_sbindir}/* %{_mandir}/man8/* %{_unitdir}/fcoe.service ++++++ fcoe-utils-stop-using-ifconfig.patch ++++++ diff -aurp fcoe-utils-1.0.32.orig/debug/dcbcheck.sh fcoe-utils-1.0.32/debug/dcbcheck.sh --- fcoe-utils-1.0.32.orig/debug/dcbcheck.sh 2017-01-17 04:19:20.000000000 -0800 +++ fcoe-utils-1.0.32/debug/dcbcheck.sh 2020-04-02 18:44:06.511563546 -0700 @@ -27,7 +27,7 @@ if [ "${IFNAME}" == "" ] ; then fi # Ensure that the interface name provided is valid -if ifconfig ${IFNAME} 2>&1 | grep -q "Device not found" ; then +if ip link show dev ${IFNAME} 2>&1 | grep -q "does not exist" ; then echo "Please provide a valid interface name." >&2 exit 1 fi Only in fcoe-utils-1.0.32.orig/debug: .dcbcheck.sh.swp diff -aurp fcoe-utils-1.0.32.orig/debug/fcoedump.sh fcoe-utils-1.0.32/debug/fcoedump.sh --- fcoe-utils-1.0.32.orig/debug/fcoedump.sh 2017-01-17 04:19:20.000000000 -0800 +++ fcoe-utils-1.0.32/debug/fcoedump.sh 2020-04-02 18:43:46.195599808 -0700 @@ -78,8 +78,10 @@ adapter_info() ethtool -i $DEVICE echo -e "#ethtool offloads:" ethtool -k $DEVICE - echo -e "#ifconfig:" - ifconfig $DEVICE + echo -e "#ip link:" + ip link show dev $DEVICE + echo -e "#ip addr:" + ip addr show dev $DEVICE fi echo -e "\n###Adapter INFO $PHYSDEV" @@ -93,8 +95,10 @@ adapter_info() ethtool -k $PHYSDEV echo -e "#ethtool stats:" ethtool -S $PHYSDEV - echo -e "#ifconfig:" - ifconfig $PHYSDEV + echo -e "#ip link:" + ip link show dev $PHYSDEV + echo -e "#ip addr:" + ip addr show dev $PHYSDEV } dcbtool_info()