From 7594a86cf7e12a5ad6580bde79a703e7b45f8c99 Mon Sep 17 00:00:00 2001 From: pertusus Date: Mon, 15 Jan 2007 23:49:53 +0000 Subject: [PATCH] - add debian patch to correct bad checksums --- libnet.spec | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/libnet.spec b/libnet.spec index 7cfa807..d836eca 100644 --- a/libnet.spec +++ b/libnet.spec @@ -1,11 +1,14 @@ Summary: C library for portable packet creation and injection Name: libnet Version: 1.1.2.1 -Release: 9%{?dist} +Release: 10%{?dist} License: BSD Group: System Environment/Libraries URL: http://www.packetfactory.net/libnet/ Source0: http://www.packetfactory.net/libnet/dist/libnet-%{version}.tar.gz +# excerpted from debian patcheset +Patch0: libnet-1.1.2.1-odd_chksum.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -34,6 +37,7 @@ See the manpage and sample test code for more detailed information. %prep %setup -q -n libnet +%patch0 -p1 -b odd_chksum sed -i -e 's/\r$//' doc/CHANGELOG doc/CONTRIB find . -depth -type d -name CVS -exec rm -rf {} ';' rm -rf sample/win32 @@ -71,34 +75,37 @@ rm -rf %{buildroot} %{_mandir}/man3/libnet* %changelog -* Tue Aug 29 2006 Patrice Dumas - 1.1.2.1-9 +* Fri Jan 12 2007 Patrice Dumas 1.1.2.1-10 +- add debian patch to correct bad checksums + +* Tue Aug 29 2006 Patrice Dumas 1.1.2.1-9 - rebuild for FC6 -* Fri Feb 17 2006 Patrice Dumas - 1.1.2.1-8 +* Fri Feb 17 2006 Patrice Dumas 1.1.2.1-8 - rebuild for fc5 -* Thu Dec 22 2005 Patrice Dumas - 1.1.2.1-7 +* Thu Dec 22 2005 Patrice Dumas 1.1.2.1-7 - rebuild -* Mon Sep 12 2005 Patrice Dumas 1.1.2.1-6 +* Mon Sep 12 2005 Patrice Dumas 1.1.2.1-6 - bump release and add dist tag * Tue Aug 30 2005 Paul Howarth 1.1.2.1-5 - spec file cleanup -* Fri Aug 26 2005 Patrice Dumas 1.1.2.1-4 +* Fri Aug 26 2005 Patrice Dumas 1.1.2.1-4 - use pushd and popd (from Oliver Falk) -* Mon Aug 22 2005 Patrice Dumas 1.1.2.1-3 +* Mon Aug 22 2005 Patrice Dumas 1.1.2.1-3 - Correct dos end of lines - add in devel: Provides: %%{name} = %%{version}-%%{release} -* Fri Aug 12 2005 Patrice Dumas 1.1.2.1-2 +* Fri Aug 12 2005 Patrice Dumas 1.1.2.1-2 - put everything in a devel subpackage - add smpflags - clean in sample -* Fri Aug 12 2005 Patrice Dumas 1.1.2.1-1 +* Fri Aug 12 2005 Patrice Dumas 1.1.2.1-1 - rebuild changing only name * Wed Jun 02 2004 Marcin Garski 1.1.2.1-2.fc2