rpms/fence/devel fence-1.27-norun.patch, NONE, 1.1 fence.spec, 1.6, 1.7

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu May 5 17:01:45 UTC 2005


Author: cfeist

Update of /cvs/dist/rpms/fence/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13432

Modified Files:
	fence.spec 
Added Files:
	fence-1.27-norun.patch 
Log Message:
Added patch to disable starting up the init scripts.

fence-1.27-norun.patch:
 fenced |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE fence-1.27-norun.patch ---
--- fence-1.27/init.d/fenced.norun	2005-05-05 11:59:21.000000000 -0500
+++ fence-1.27/init.d/fenced	2005-05-05 11:59:27.000000000 -0500
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# chkconfig: 345 23 77
+# chkconfig: - 23 77
 # description: Starts and stops fence domain
 #
 #	       


Index: fence.spec
===================================================================
RCS file: /cvs/dist/rpms/fence/devel/fence.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fence.spec	5 May 2005 15:47:06 -0000	1.6
+++ fence.spec	5 May 2005 17:01:40 -0000	1.7
@@ -12,7 +12,7 @@
 
 Name: fence
 Version: 1.27
-Release: 2
+Release: 3
 License: GPL
 Group: System Environment/Base
 Summary: fence - The cluster I/O fencing system
@@ -21,6 +21,7 @@
 Conflicts: GFS-modules
 ExclusiveArch: i386 x86_64
 Source0: %{name}-%{version}.tar.gz
+Patch1: fence-1.27-norun.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 
 %description
@@ -28,6 +29,7 @@
 
 %prep
 %setup -q
+%patch1 -p1 -b .norun
 
 %build
 ./configure --mandir=%{_mandir}
@@ -44,10 +46,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ "$1" = 1 ]; then
-        /sbin/chkconfig --add fenced
-        /sbin/chkconfig fenced off
-fi
+/sbin/chkconfig --add fenced
 
 %preun
 if [ "$1" = 0 ]; then
@@ -62,6 +61,8 @@
 %{_mandir}
 
 %changelog
+* Thu May 05 2005 Chris Feist <cfeist at redhat.com>
+- Added patch to disable starting up the init scripts.
 * Mon Dec 20 2004 Chris Feist <cfeist at redhat.com>
 - Rebuild for with new sources.
 * Mon Dec 13 2004 Chris Feist <cfeist at redhat.com>




More information about the fedora-cvs-commits mailing list