Add a patch to bump feature set and version.

- Related: RHEL-61383
This commit is contained in:
Chris Lumens 2024-10-16 15:49:14 -04:00
parent 08868fef60
commit 848244ede1
2 changed files with 35 additions and 0 deletions

34
001-feature-set.patch Normal file
View File

@ -0,0 +1,34 @@
From adcb9733e8a2cf637b42949d3c62d46e7a8b9dc4 Mon Sep 17 00:00:00 2001
From: Chris Lumens <clumens@redhat.com>
Date: Wed, 16 Oct 2024 15:54:54 -0400
Subject: [PATCH] Build: Bump CRM_FEATURE_SET and version for scratch build.
---
include/crm/crm.h | 2 +-
m4/version.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/crm/crm.h b/include/crm/crm.h
index f9f7d8d..7839ae4 100644
--- a/include/crm/crm.h
+++ b/include/crm/crm.h
@@ -63,7 +63,7 @@ extern "C" {
* >=3.2.0: DC supports PCMK_EXEC_INVALID and PCMK_EXEC_NOT_CONNECTED
* >=3.19.0: DC supports PCMK__CIB_REQUEST_COMMIT_TRANSACT
*/
-# define CRM_FEATURE_SET "3.19.7"
+# define CRM_FEATURE_SET "3.20.0"
/* Pacemaker's CPG protocols use fixed-width binary fields for the sender and
* recipient of a CPG message. This imposes an arbitrary limit on cluster node
diff --git a/m4/version.m4 b/m4/version.m4
index 96277df..0270051 100644
--- a/m4/version.m4
+++ b/m4/version.m4
@@ -1,2 +1,2 @@
-m4_define([VERSION_NUMBER], [2.1.9])
+m4_define([VERSION_NUMBER], [3.0.0])
m4_define([PCMK_URL], [https://ClusterLabs.org/projects/pacemaker/])
--
2.43.0

View File

@ -219,6 +219,7 @@ Url: https://www.clusterlabs.org/
Source0: https://codeload.github.com/%{github_owner}/%{name}/tar.gz/%{archive_github_url}
Source1: pacemaker.sysusers
# upstream commits
Patch001: 001-feature-set.patch
Requires: resource-agents
Requires: %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}