forked from pool/python-ethtool
Accepting request 363725 from home:olh:branches:devel:languages:python
- add python-ethtool.patch to fix build OBS-URL: https://build.opensuse.org/request/show/363725 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ethtool?expand=0&rev=2
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ethtool
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,18 +16,19 @@
|
||||
#
|
||||
|
||||
|
||||
Name: python-ethtool
|
||||
Version: 0.11
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Summary: Ethernet settings python bindings
|
||||
URL: https://fedorahosted.org/python-ethtool/
|
||||
Group: Development/Languages/Python
|
||||
Source: https://fedorahosted.org/releases/p/y/python-ethtool/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libnl3-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-devel
|
||||
Name: python-ethtool
|
||||
Version: 0.11
|
||||
Release: 0
|
||||
Summary: Ethernet settings python bindings
|
||||
License: GPL-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://fedorahosted.org/python-ethtool/
|
||||
Source: https://fedorahosted.org/releases/p/y/python-ethtool/%{name}-%{version}.tar.bz2
|
||||
Patch0: python-ethtool.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libnl3-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: python-devel
|
||||
|
||||
%description
|
||||
Python bindings for the ethtool kernel interface, that allows querying and
|
||||
@@ -36,6 +37,7 @@ PCI locations.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
||||
Reference in New Issue
Block a user