Scalable High-Availability cluster resource manager
Go to file
Chris Lumens 858d65b35c Fix upgrading to this package on multilib systems
The pacemaker-libs-devel package contains
/usr/include/pacemaker/crm_config.h which defines BUILD_VERSION.  This
macro is set to the git commit ID that was used to build this package.
In previous releases, we had a bug in configure.ac that caused us to
incorrectly fail to find git, resulting in using the fallback of the
source tree directory name.  This is something like pacemaker-1234abcd,
which is the same on all builders.

However, 2.1.7 includes a fixed configure.ac that can now find the git
binary which means we now use the latest git commit ID.  Unfortunately,
this varies from builder to builder even for the same release.  This is
because the first steps in package building are running "git commit" to
initialize a repo, and then running "git am" to apply all the patches.
Creating the repo means it will get a different commit ID every time,
which means the applied patches will have a different parent, giving
them different commit IDs.

The end result of this is that each builder sees its own distinct commit
ID, and therefore each arch has its own BUILD_VERSION.  This means the
x86_64 and i686 packages now differ, introducing a file conflict, which
means rpm will refuse to upgrade.

The fix is to simply remove the automatically created git repo after we
are done with it, causing configure.ac to use the directory name
fallback.

- Resolves: RHEL-29007
2024-03-22 09:57:09 -04:00
.gitignore Rebase on upstream 2.1.7 final release 2024-01-17 17:38:42 -05:00
001-schema-glib.patch Rebase on upstream 2.1.7-rc4 release 2023-12-14 14:10:16 -05:00
002-schema-transfer.patch Rebase on upstream 2.1.7-rc4 release 2023-12-14 14:10:16 -05:00
003-schema-doc.patch Rebase on upstream 2.1.7 final release 2024-01-17 17:38:42 -05:00
004-attrd-cache-1.patch Rebase on upstream 2.1.7 final release 2024-01-17 17:38:42 -05:00
005-attrd-cache-2.patch Rebase on upstream 2.1.7 final release 2024-01-17 17:38:42 -05:00
006-cib-file-feature-set.patch Rebase on upstream 2.1.7 final release 2024-01-17 17:38:42 -05:00
007-option-metadata.patch Rebase on upstream 2.1.7 final release 2024-01-17 17:38:42 -05:00
008-attrd-prep.patch Rebase on upstream 2.1.7 final release 2024-01-17 17:38:42 -05:00
009-attrd-cache-3.patch Backport fixes from master. 2024-02-01 14:20:53 -05:00
010-crm_attribute-free.patch Backport fixes from master. 2024-02-01 14:20:53 -05:00
gating.yaml Bring gating.yaml over from Brew dist-git 2023-03-10 11:11:26 -08:00
pacemaker.spec Fix upgrading to this package on multilib systems 2024-03-22 09:57:09 -04:00
sources Rebase on upstream 2.1.7 final release 2024-01-17 17:38:42 -05:00