[arptables_jf] removed double --arhln optin of -h printout

Jiri Skala jskala at fedoraproject.org
Fri Oct 21 12:49:01 UTC 2011


commit 2e88e214b2e4a6110649a93ca259f4bdaf790528
Author: Jiri Skala <jskala at redhat.com>
Date:   Fri Oct 21 14:48:56 2011 +0200

    removed double --arhln optin of -h printout

 arptables_jf-0.0.8-dbl-opt.patch |   12 ++++++++++++
 arptables_jf.spec                |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/arptables_jf-0.0.8-dbl-opt.patch b/arptables_jf-0.0.8-dbl-opt.patch
new file mode 100644
index 0000000..c54198c
--- /dev/null
+++ b/arptables_jf-0.0.8-dbl-opt.patch
@@ -0,0 +1,12 @@
+diff -up arptables_jf-0.0.8/arptables.c.dbl-opt arptables_jf-0.0.8/arptables.c
+--- arptables_jf-0.0.8/arptables.c.dbl-opt	2011-10-21 14:44:13.999306390 +0200
++++ arptables_jf-0.0.8/arptables.c	2011-10-21 14:44:23.581413207 +0200
+@@ -413,8 +413,6 @@ exit_printhelp(void)
+ "				source specification\n"
+ "  --target     -d [!] address[/mask]\n"
+ "				destination specification\n"
+-"  --arhln      -a [!] length[/mask]\n"
+-"                               hardware address length\n"
+ "  --source-hw  -z [!] address[/mask]\n"
+ "                               source hardware address\n"
+ "  --target-hw  -y [!] address[/mask]\n"
diff --git a/arptables_jf.spec b/arptables_jf.spec
index d7d37d7..146b860 100644
--- a/arptables_jf.spec
+++ b/arptables_jf.spec
@@ -3,7 +3,7 @@ Summary: Userspace control program for the arptables network filter
 Name: arptables_jf
 
 Version: 0.0.8
-Release: 22%{?dist}
+Release: 23%{?dist}
 Source: %{name}-%{version}.tbz
 #Source1: Makefile
 #Source2: arptables.h
@@ -18,6 +18,7 @@ Patch4: arptables_jf-0.0.8-header.patch
 Patch5: arptables_jf-0.0.8-initscript.patch
 Patch6: arptables_jf-0.0.8-mangle.patch
 Patch7: arptables_jf-0.0.8-byteorder.patch
+Patch8: arptables_jf-0.0.8-dbl-opt.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -49,6 +50,7 @@ install this package.
 %patch5 -p1 -b .initscript
 %patch6 -p1 -b .mangle
 %patch7 -p1 -b .byteorder
+%patch8 -p1 -b .dbl-opt
 
 %build
 make all LIBDIR=/%{_lib} 'COPT_FLAGS=%{optflags}' %{_smp_mflags}
@@ -76,6 +78,9 @@ fi
 
 
 %changelog
+* Fri Oct 21 2011 Jiri Skala <jskala at redhat.com> - 0:0.0.8-23
+- removed double --arhln optin of -h printout
+
 * Tue Mar 29 2011 Jiri Skala <jskala at redhat.com> - 0:0.0.8-22
 - fixes #663655 - arptables(8) man page correction
 


More information about the scm-commits mailing list