commit 94636ceab2fbf4f25cd1c0627cdfa80ca01308d9
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Mon Jan 23 11:24:43 2017 +0100

    - up to 0.12

 python-ethtool-build.patch | 12 ++++++++++++
 python-ethtool.spec        |  8 +++++---
 2 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/python-ethtool.spec b/python-ethtool.spec
index 1997681..31e0366 100644
--- a/python-ethtool.spec
+++ b/python-ethtool.spec
@@ -6,12 +6,13 @@
 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
@@ -52,6 +53,7 @@ port, autonegocjacja oraz lokalizacja PCI.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with python2}
diff --git a/python-ethtool-build.patch b/python-ethtool-build.patch
new file mode 100644
index 0000000..a2531bf
--- /dev/null
+++ b/python-ethtool-build.patch
@@ -0,0 +1,12 @@
+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):
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ethtool.git/commitdiff/94636ceab2fbf4f25cd1c0627cdfa80ca01308d9

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

Reply via email to