Blame SOURCES/017-watchdog-fixes.patch

06a831
From 61eb9c240004d1dbd0b5973e2fecda3686bb4c53 Mon Sep 17 00:00:00 2001
06a831
From: Klaus Wenninger <klaus.wenninger@aon.at>
06a831
Date: Tue, 10 Aug 2021 09:06:55 +0200
06a831
Subject: [PATCH 1/2] Build: rpm: package fence_watchdog in base-package
06a831
06a831
---
06a831
 rpm/pacemaker.spec.in | 2 +-
06a831
 1 file changed, 1 insertion(+), 1 deletion(-)
06a831
06a831
diff --git a/rpm/pacemaker.spec.in b/rpm/pacemaker.spec.in
06a831
index f58357a77..0c569b9ca 100644
06a831
--- a/rpm/pacemaker.spec.in
06a831
+++ b/rpm/pacemaker.spec.in
06a831
@@ -734,6 +734,7 @@ exit 0
06a831
 %{_sbindir}/crm_attribute
06a831
 %{_sbindir}/crm_master
06a831
 %{_sbindir}/fence_legacy
06a831
+%{_sbindir}/fence_watchdog
06a831
 
06a831
 %doc %{_mandir}/man7/pacemaker-controld.*
06a831
 %doc %{_mandir}/man7/pacemaker-schedulerd.*
06a831
@@ -797,7 +798,6 @@ exit 0
06a831
 %{_sbindir}/crm_simulate
06a831
 %{_sbindir}/crm_report
06a831
 %{_sbindir}/crm_ticket
06a831
-%{_sbindir}/fence_watchdog
06a831
 %{_sbindir}/stonith_admin
06a831
 # "dirname" is owned by -schemas, which is a prerequisite
06a831
 %{_datadir}/pacemaker/report.collector
06a831
-- 
06a831
2.27.0
06a831
06a831
06a831
From 88e75d5b98df197fa731e7642434951a24a67095 Mon Sep 17 00:00:00 2001
06a831
From: Klaus Wenninger <klaus.wenninger@aon.at>
06a831
Date: Tue, 10 Aug 2021 09:10:23 +0200
06a831
Subject: [PATCH 2/2] Fix: fence_watchdog: fix version output needed for
06a831
 help2man
06a831
06a831
---
06a831
 daemons/fenced/fence_watchdog.in | 1 +
06a831
 1 file changed, 1 insertion(+)
06a831
06a831
diff --git a/daemons/fenced/fence_watchdog.in b/daemons/fenced/fence_watchdog.in
06a831
index c83304f1d..700065e0e 100755
06a831
--- a/daemons/fenced/fence_watchdog.in
06a831
+++ b/daemons/fenced/fence_watchdog.in
06a831
@@ -12,6 +12,7 @@ import sys
06a831
 import atexit
06a831
 import getopt
06a831
 
06a831
+AGENT_VERSION = "1.0.0"
06a831
 SHORT_DESC = "Dummy watchdog fence agent"
06a831
 LONG_DESC = """fence_watchdog just provides
06a831
 meta-data - actual fencing is done by the pacemaker internal watchdog agent."""
06a831
-- 
06a831
2.27.0
06a831