--- /dev/null
+diff -urN python-ethtool-0.12.org/setup.py python-ethtool-0.12/setup.py
+--- python-ethtool-0.12.org/setup.py 2016-08-15 11:57:39.000000000 +0200
++++ python-ethtool-0.12/setup.py 2017-01-23 11:23:29.595230644 +0100
+@@ -9,7 +9,7 @@
+ import subprocess as commands
+ import sys
+
+-version = '0.10'
++version = '0.12'
+
+ def pkgconfig(pkg):
+ def _str2list(pkgstr, onlystr):
Summary: Python 2 bindings to Ethernet settings
Summary(pl.UTF-8): Wiązania Pythona 2 do ustawień sieci Ethernet
Name: python-ethtool
-Version: 0.11
-Release: 4
+Version: 0.12
+Release: 1
License: GPL v2
Group: Libraries/Python
Source0: https://fedorahosted.org/releases/p/y/python-ethtool/%{name}-%{version}.tar.bz2
-# Source0-md5: b505501d928debf69664b72fafa9d0c3
+# Source0-md5: 8089d72c9dbe0570bc2aa6ecd59e026f
+Patch0: %{name}-build.patch
URL: https://fedorahosted.org/python-ethtool/
BuildRequires: asciidoc
BuildRequires: libnl-devel >= 3.2
%prep
%setup -q
+%patch0 -p1
%build
%if %{with python2}