Files
python-ethtool/python-ethtool.spec

67 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python
#
Accepting request 514029 from home:mcalmer:branches:devel:languages:python http://bugzilla.suse.com/show_bug.cgi?id=1041405 Between openSUSE Factoy and SLES only the changelog differ. With this we get the exact same changelog in both systems and all trouble are gone. This just adds older changelog entries to the Factoy package. old: devel:languages:python/python-ethtool new: home:mcalmer:branches:devel:languages:python/python-ethtool rev None Index: python-ethtool.changes =================================================================== --- python-ethtool.changes (revision 3) +++ python-ethtool.changes (revision 2) @@ -15,7 +15,83 @@ - Updated to version 0.11 ------------------------------------------------------------------- -Sat Sep 26 10:27:07 CEST 2009 - meissner@suse.de +Wed Sep 3 01:41:37 CEST 2014 - ro@suse.de -- imported by dbahi +- sanitize release line in specfile + +------------------------------------------------------------------- +Fri Jan 17 17:37:59 CET 2014 - mc@suse.de + +- update to version 0.09 + * drop sle10.patch - we do not build this for SLES10 + * drop bug-806936_0001-pifconfig-Fix-listing-of-an-Interface.patch + upstream fixed it too +- Make pifconfig respect interface arguments from the command line +- pifethtool: Show IPv6 address information when available +- Fix memory leaks in get_interfaces_info() +- Support devices with multiple IPv4 addresses +- Fix get_active_devices() for IPv6 only interfaces + +------------------------------------------------------------------- +Mon Mar 4 11:46:07 CET 2013 - mc@suse.de + +- fix listing single network interfaces (bnc#806936) + +------------------------------------------------------------------- +Fri May 18 18:04:12 CEST 2012 - mc@suse.de + +- add patch for sle10 to remove not existing function calles + for old libnl (bnc#763015) + +------------------------------------------------------------------- +Fri Apr 20 17:22:00 CEST 2012 - mc@suse.de + +- update to version 0.7 (bnc#770389) + * fixes several memory leaks + * add man pages + * other bugfixes + +------------------------------------------------------------------- +Sun Apr 3 18:45:09 CEST 2011 - mc@suse.de + +- update to version 0.6 +- added IPv6 support + +------------------------------------------------------------------- +Wed Feb 2 15:22:09 CET 2011 - mc@suse.de + +- fix build on RH5 + +------------------------------------------------------------------- +Thu Jan 29 00:00:00 CET 2009 - dbahi@novell.com + +- Packaging for suse flavors + +------------------------------------------------------------------- +Tue Aug 26 00:00:00 CET 2008 - acme@redhat.com + +- Add get_flags method from the first python-ethtool contributor, yay +- Add pifconfig command, that mimics the ifconfig tool using the + bindings available + +------------------------------------------------------------------- +Wed Aug 20 00:00:00 CET 2008 - acme@redhat.com + +- Expand description and summary fields, as part of the fedora + review process. + +------------------------------------------------------------------- +Tue Jun 10 00:00:00 CET 2008 - acme@redhat.com + +- add dist to the release tag + +------------------------------------------------------------------- +Tue Dec 18 00:00:00 CET 2007 - acme@redhat.com + +- First build into MRG repo + +------------------------------------------------------------------- +Tue Dec 18 00:00:00 CET 2007 - acme@redhat.com + +- Get ethtool code from rhpl 0.212 Index: python-ethtool.spec =================================================================== --- python-ethtool.spec (revision 3) +++ python-ethtool.spec (revision 2) @@ -1,7 +1,7 @@ # # spec file for package python-ethtool # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 OBS-URL: https://build.opensuse.org/request/show/514029 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ethtool?expand=0&rev=4
2017-08-03 20:34:54 +00:00
# Copyright (c) 2017 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#
%global pypi_name ethtool
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{pypi_name}
Version: 0.13
Release: 0
Summary: Ethernet settings Python bindings
License: GPL-2.0
Group: Development/Languages/Python
Url: https://github.com/fedora-python/%{name}
Source: https://files.pythonhosted.org/packages/source/e/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: libnl3-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
Python bindings for the ethtool kernel interface that allows querying and
changing of Ethernet interface settings, such as speed, port, autonegotiation, and
PCI locations.
%prep
%setup -q -n %{pypi_name}-%{version}
%build
export LANG=C.UTF-8
export CFLAGS="%{optflags}"
%python_build
%install
export LANG=C.UTF-8
%python_install
mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man8
mv %{buildroot}{%{_bindir},%{_sbindir}}/pifconfig
mv %{buildroot}{%{_bindir},%{_sbindir}}/pethtool
%files %{python_files}
%defattr(-,root,root)
%doc README.rst CHANGES.rst COPYING
%{python_sitearch}/
%python3_only %{_sbindir}/pethtool
%python3_only %{_sbindir}/pifconfig
%changelog