Name: python-dpkt
Version: 1.7
Release: 3%{?dist}
Summary: Simple packet creation/parsing library
Group: Development/Libraries
License: BSD
URL: http://dpkt.googlecode.com/
Source0: http://dpkt.googlecode.com/files/dpkt-%{version}.tar.gz
Patch0: dpkt-1.7-r73.patch
BuildArch: noarch
BuildRequires: python-devel
Obsoletes: dpkt < 1.7-4
%description
Fast, simple packet creation and parsing library
with definitions for the basic TCP/IP protocols.
%prep
%setup -q -n dpkt-%{version}
%patch0 -p0 -b .r73
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES HACKING LICENSE README examples
%{python_sitelib}/*
%changelog
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jul 28 2010 Yanko Kaneti <yaneti@declera.com> - 1.7-1
- python-dpkt previously known as dpkt
- Incorporated feedback from the new review