Blame SOURCES/backward-rename_fence_scsi_check_to_pl.patch

e4ffb1
diff -urN fence-agents-4.0.11/fence/agents/scsi/fence_scsi.py fence-agents-4.0.11.scsi/fence/agents/scsi/fence_scsi.py
e4ffb1
--- fence-agents-4.0.11/fence/agents/scsi/fence_scsi.py	2014-08-06 09:35:09.000000000 +0200
e4ffb1
+++ fence-agents-4.0.11.scsi/fence/agents/scsi/fence_scsi.py	2014-09-03 13:00:37.000000000 +0200
e4ffb1
@@ -387,7 +387,7 @@
e4ffb1
 	all_opt["delay"]["getopt"] = "H:"
e4ffb1
 
e4ffb1
 	#fence_scsi_check
e4ffb1
-	if os.path.basename(sys.argv[0]) == "fence_scsi_check":
e4ffb1
+	if os.path.basename(sys.argv[0]) == "fence_scsi_check.pl":
e4ffb1
 		sys.exit(scsi_check())
e4ffb1
 
e4ffb1
 	options = check_input(device_opt, process_input(device_opt))
e4ffb1
diff -urN fence-agents-4.0.11/fence/agents/scsi/Makefile.am fence-agents-4.0.11.scsi/fence/agents/scsi/Makefile.am
e4ffb1
--- fence-agents-4.0.11/fence/agents/scsi/Makefile.am	2014-08-27 15:32:14.000000000 +0200
e4ffb1
+++ fence-agents-4.0.11.scsi/fence/agents/scsi/Makefile.am	2014-09-03 13:10:22.000000000 +0200
e4ffb1
@@ -4,10 +4,10 @@
e4ffb1
 
e4ffb1
 SRC			= $(TARGET).py
e4ffb1
 
e4ffb1
-EXTRA_DIST		= $(SRC) 
e4ffb1
+EXTRA_DIST		= $(SRC)
e4ffb1
 
e4ffb1
 scsidatadir		= $(CLUSTERDATA)
e4ffb1
-scsidata_SCRIPTS	= fence_scsi_check
e4ffb1
+scsidata_SCRIPTS	= fence_scsi_check.pl
e4ffb1
 
e4ffb1
 sbin_SCRIPTS		= $(TARGET)
e4ffb1
 
e4ffb1
@@ -15,7 +15,7 @@
e4ffb1
 
e4ffb1
 FENCE_TEST_ARGS         = -k 1
e4ffb1
 
e4ffb1
-fence_scsi_check: $(TARGET)
e4ffb1
+fence_scsi_check.pl: $(TARGET)
e4ffb1
 	cp $^ $@
e4ffb1
 
e4ffb1
 include $(top_srcdir)/make/fencebuild.mk
e4ffb1
@@ -23,4 +23,4 @@
e4ffb1
 include $(top_srcdir)/make/agentpycheck.mk
e4ffb1
 
e4ffb1
 clean-local: clean-man
e4ffb1
-	rm -f $(TARGET) $(SYMTARGET) fence_scsi_check
e4ffb1
+	rm -f $(TARGET) $(SYMTARGET) fence_scsi_check.pl
e4ffb1
diff -urN fence-agents-4.0.11/fence/agents/scsi/Makefile.in fence-agents-4.0.11.scsi/fence/agents/scsi/Makefile.in
e4ffb1
--- fence-agents-4.0.11/fence/agents/scsi/Makefile.in	2014-08-27 15:52:24.000000000 +0200
e4ffb1
+++ fence-agents-4.0.11.scsi/fence/agents/scsi/Makefile.in	2014-09-03 13:10:37.000000000 +0200
e4ffb1
@@ -285,9 +285,9 @@
e4ffb1
 MAINTAINERCLEANFILES = Makefile.in
e4ffb1
 TARGET = fence_scsi
e4ffb1
 SRC = $(TARGET).py
e4ffb1
-EXTRA_DIST = $(SRC) 
e4ffb1
+EXTRA_DIST = $(SRC)
e4ffb1
 scsidatadir = $(CLUSTERDATA)
e4ffb1
-scsidata_SCRIPTS = fence_scsi_check
e4ffb1
+scsidata_SCRIPTS = fence_scsi_check.pl
e4ffb1
 sbin_SCRIPTS = $(TARGET)
e4ffb1
 man_MANS = $(TARGET).8
e4ffb1
 FENCE_TEST_ARGS = -k 1
e4ffb1
@@ -607,7 +607,7 @@
e4ffb1
 	uninstall-sbinSCRIPTS uninstall-scsidataSCRIPTS
e4ffb1
 
e4ffb1
 
e4ffb1
-fence_scsi_check: $(TARGET)
e4ffb1
+fence_scsi_check.pl: $(TARGET)
e4ffb1
 	cp $^ $@
e4ffb1
 $(TARGET): $(SRC)
e4ffb1
 	bash $(top_srcdir)/scripts/fenceparse \
e4ffb1
@@ -664,7 +664,7 @@
e4ffb1
 	python ./$(INPUT) --delay 0 $(FENCE_TEST_ARGS) --
e4ffb1
 
e4ffb1
 clean-local: clean-man
e4ffb1
-	rm -f $(TARGET) $(SYMTARGET) fence_scsi_check
e4ffb1
+	rm -f $(TARGET) $(SYMTARGET) fence_scsi_check.pl
e4ffb1
 
e4ffb1
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
e4ffb1
 # Otherwise a system limit (for SysV at least) may be exceeded.