diff --git a/dpkt-1.7-r73.patch b/dpkt-1.7-r73.patch deleted file mode 100644 index e816b70..0000000 --- a/dpkt-1.7-r73.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: dpkt/http.py -=================================================================== ---- dpkt/http.py (revision 72) -+++ dpkt/http.py (revision 73) -@@ -15,11 +15,11 @@ - line = line.strip() - if not line: - break -- l = line.split(None, 1) -- if not l[0].endswith(':'): -+ l = line.split(':', 1) -+ if len(l[0].split()) != 1: - raise dpkt.UnpackError('invalid header: %r' % line) -- k = l[0][:-1].lower() -- v = len(l) != 1 and l[1] or '' -+ k = l[0].lower() -+ v = len(l) != 1 and l[1].lstrip() or '' - if k in d: - if not type(d[k]) is list: - d[k] = [d[k]] diff --git a/python-dpkt.spec b/python-dpkt.spec index ed01176..0bff398 100644 --- a/python-dpkt.spec +++ b/python-dpkt.spec @@ -1,18 +1,16 @@ Name: python-dpkt -Version: 1.7 -Release: 6%{?dist} +Version: 1.8 +Release: 1%{?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 @@ -21,7 +19,6 @@ with definitions for the basic TCP/IP protocols. %prep %setup -q -n dpkt-%{version} -%patch0 -p0 -b .r73 %build @@ -33,12 +30,14 @@ with definitions for the basic TCP/IP protocols. %files -%defattr(-,root,root,-) %doc AUTHORS CHANGES HACKING LICENSE README examples %{python_sitelib}/* %changelog +* Fri Jan 17 2014 Yanko Kaneti - 1.8-1 +- Update to 1.8. Drop patch. Drop ancient obsolete + * Sun Aug 04 2013 Fedora Release Engineering - 1.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild