33
44Summary: Ethernet settings python bindings
55Name: python-ethtool
6- Version: 0.6
6+ Version: 0.7
77Release: 1%{?dist }
88URL: http://fedorapeople.org/gitweb?p= dsommers/public_git/python-ethtool.git;a= summary
99Source: http://dsommers.fedorapeople.org/python-ethtool/%{name }-%{version }.tar.bz2
1010License: GPLv2
1111Group: System Environment/Libraries
12- BuildRequires: python-devel libnl-devel
12+ BuildRequires: python-devel libnl-devel asciidoc
1313BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root-%(%{__id_u} -n)
1414
1515%description
@@ -22,13 +22,17 @@ PCI locations.
2222
2323%build
2424%{__python} setup.py build
25+ a2x -d manpage -f manpage man/pethtool.8.asciidoc
26+ a2x -d manpage -f manpage man/pifconfig.8.asciidoc
2527
2628%install
2729rm -rf %{buildroot }
2830%{__python} setup.py install --skip-build --root %{buildroot }
29- mkdir -p %{buildroot }%{_sbindir }
31+ mkdir -p %{buildroot }%{_sbindir } %{ buildroot }%{ _mandir }/man8
3032cp -p pethtool.py %{buildroot }%{_sbindir }/pethtool
3133cp -p pifconfig.py %{buildroot }%{_sbindir }/pifconfig
34+ %{__gzip} -c man/pethtool.8 > %{buildroot }%{_mandir }/man8/pethtool.8.gz
35+ %{__gzip} -c man/pifconfig.8 > %{buildroot }%{_mandir }/man8/pifconfig.8.gz
3236
3337%clean
3438rm -rf %{buildroot }
@@ -38,12 +42,21 @@ rm -rf %{buildroot}
3842%doc COPYING
3943%{_sbindir }/pethtool
4044%{_sbindir }/pifconfig
45+ %doc %{_mandir }/man8/*
4146%{python_sitearch }/ethtool.so
4247%if " %{python_ver}" > = " 2.5"
4348%{python_sitearch }/* .egg-info
4449%endif
4550
4651%changelog
52+ * Mon Apr 11 2011 David Sommerseth <davids@redhat.com> - 0.7-1
53+ - Fixed several memory leaks (commit aa2c20e697af, abc7f912f66d)
54+ - Improved error checking towards NULL values(commit 4e928d62a8e3)
55+ - Fixed typo in pethtool --help (commit 710766dc722)
56+ - Only open a NETLINK connection when needed (commit 508ffffbb3c)
57+ - Added man page for pifconfig and pethtool (commit 9f0d17aa532, rhbz#638475)
58+ - Force NETLINK socket to close on fork() using FD_CLOEXEC (commit 1680cbeb40e)
59+
4760* Wed Jan 19 2011 David Sommerseth <dazo@users.sourceforge.net> - 0.6-1
4861- Don't segfault if we don't receive any address from rtnl_link_get_addr()
4962- Remove errornous file from MANIFEST
0 commit comments