rpms/netdump/devel netdump-initscript.patch, NONE, 1.1 netdump.spec, 1.28, 1.29

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Oct 2 18:11:23 UTC 2006


Author: nhorman

Update of /cvs/dist/rpms/netdump/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13753

Modified Files:
	netdump.spec 
Added Files:
	netdump-initscript.patch 
Log Message:
fixing typo for bz 202847

netdump-initscript.patch:
 netdump.init |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE netdump-initscript.patch ---
--- netdump-0.7.16/netdump.init.orig	2006-10-02 13:56:04.000000000 -0400
+++ netdump-0.7.16/netdump.init	2006-10-02 13:57:22.000000000 -0400
@@ -127,7 +127,7 @@ print_address_info ()
     # offline, then the first hop will show up as our local address.  This
     # would not be a working setup, so we set mac_ip to the server ip.
     localaddr=$(ip_of_device $DEV)
-    [ "mac_ip" = "$localaddr" ] && mac_ip=$host_ip
+    [ "$mac_ip" == "$localaddr" ] && mac_ip=$host_ip
 
     arping -c 1 -I $DEV $mac_ip &> /dev/null
     [ $? -ne 0 ] && echo "$prog: cannot arp $mac_ip on $DEV" 1>&2


Index: netdump.spec
===================================================================
RCS file: /cvs/dist/rpms/netdump/devel/netdump.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- netdump.spec	12 Jul 2006 18:20:49 -0000	1.28
+++ netdump.spec	2 Oct 2006 18:11:21 -0000	1.29
@@ -1,13 +1,14 @@
 Summary: Client setup for network kernel message logging and crash dumps
 Name: netdump
 Version: 0.7.16
-Release: 5
+Release: 6
 Source0: %{name}-%{version}.tar.gz
 License: GPL
 Group: System Environment/Daemons
 BuildRoot: %{_tmppath}/%{name}-root
 BuildRequires: glib2-devel
-Patch: netdump-glib2.patch
+Patch1: netdump-glib2.patch
+Patch2: netdump-initscript.patch
 Requires: /usr/bin/ssh-keygen /usr/bin/ssh fileutils textutils gawk /sbin/ifconfig
 
 %package server
@@ -27,7 +28,8 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 make %{?_smp_mflags}
@@ -97,6 +99,9 @@
 %doc example_scripts
 
 %changelog
+* Mon Sep 02 2006 Neil Horman <nhorman at redhat.com> - 0.7.16-6
+- fixing initscript typo (bz 202847)
+
 * Wed Jul 12 2006 Jesse Keating <jkeating at redhat.com> - 0.7.16-5
 - rebuild
 




More information about the fedora-cvs-commits mailing list