Blame SOURCES/backward-rename_fence_scsi_check_to_pl.patch

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