commit b94364f60d0f77f06327bba87137f14bd064a168
Author: Jakub Bogusz <[email protected]>
Date:   Sat May 16 07:53:33 2020 +0200

    - updated to 5.6
    - added format patch

 ethtool-format.patch | 11 +++++++++++
 ethtool.spec         |  8 ++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/ethtool.spec b/ethtool.spec
index 6387b70..d9695a1 100644
--- a/ethtool.spec
+++ b/ethtool.spec
@@ -3,16 +3,19 @@ Summary(es.UTF-8):    Grupos de herramientas Ethernet
 Summary(pl.UTF-8):     Narzędzie do kontrolowania kart ethernet
 Summary(pt_BR.UTF-8):  Ferramenta de configuração para placas ethernet PCI
 Name:          ethtool
-Version:       5.4
+Version:       5.6
 Release:       1
 Epoch:         1
 License:       GPL v2
 Group:         Networking/Admin
 Source0:       
https://www.kernel.org/pub/software/network/ethtool/%{name}-%{version}.tar.xz
-# Source0-md5: 3d4bbf2be9fb25059186691918eaffe9
+# Source0-md5: 254aacdfd08cee3790d4b6f254997947
+Patch0:                %{name}-format.patch
 URL:           https://www.kernel.org/pub/software/network/ethtool/
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
+BuildRequires: libmnl-devel
+BuildRequires: pkgconfig
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -50,6 +53,7 @@ Bashowe dopełnianie parametrów polecenia ethtool.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__aclocal}
diff --git a/ethtool-format.patch b/ethtool-format.patch
new file mode 100644
index 0000000..75a6770
--- /dev/null
+++ b/ethtool-format.patch
@@ -0,0 +1,11 @@
+--- ethtool-5.6/netlink/settings.c.orig        2020-03-13 20:10:51.000000000 
+0100
++++ ethtool-5.6/netlink/settings.c     2020-05-16 07:50:02.098853940 +0200
+@@ -375,7 +375,7 @@
+ after:
+       if (first && if_none)
+               printf("%s", if_none);
+-      printf(after);
++      fputs(after, stdout);
+ 
+       return 0;
+ err:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ethtool.git/commitdiff/b94364f60d0f77f06327bba87137f14bd064a168

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to