blob: 420f71de0703347fd34ffbd1e7e40e699f35600a [file] [log] [blame]
%{!?pytho1_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")}
Summary: Ethernet settings python bindings
Name: python-inet_diag
Version: 0.2.1
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Libraries
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Python bindings for the inet_diag kernel interface, that allows querying AF_INET
socket state.
%setup -q
%{__python} build
rm -rf %{buildroot}
%{__python} install --skip-build --root %{buildroot}
mkdir -p %{buildroot}%{_sbindir}
cp -p %{buildroot}%{_sbindir}/pss
cp -p %{buildroot}%{_sbindir}/psk
rm -rf %{buildroot}
%if "%{python_ver}" >= "2.5"
* Thu Apr 7 2016 * Jiri Kastner <> - 0.2.1-1
- fixed typos
* Sun May 17 2015 * Jiri Kastner <> - 0.2-1
- update to 0.2
* Wed May 13 2009 * Arnaldo Carvalho de Melo <> - 0.1-1
- Initial package