mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-31 18:19:40 +00:00
fix(genesis-scripts): floor genesis-base requirement at 2:2.18.0
Requiring xCAT-genesis-base >= 2:%{version} coupled the flat xcat-core to a
matching genesis-base on every marketing-version bump: a 2.18.1 core refused
to install against the deployed 2.18.0 genesis-base. genesis-base changes
rarely and lives in the separate per-EL xcat-dep repo, so floor the requirement
at the fixed 2.18.0 baseline instead. Core version bumps no longer force a
genesis-base re-publish.
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
@@ -32,13 +32,15 @@ Vendor: IBM Corp.
|
||||
Summary: xCAT Genesis netboot image - Core content
|
||||
URL: https://xcat.org/
|
||||
Source1: xCAT-genesis-scripts.tar.bz2
|
||||
# Require any same-version (or newer) genesis-base, NOT the exact snap. genesis-base
|
||||
# Require a fixed genesis-base floor, NOT the exact snap and NOT %{version}. genesis-base
|
||||
# lives in the per-EL xcat-dep repo while this package ships in the flat xcat-core;
|
||||
# pinning the exact -%{release} forced the two repos to be republished in lockstep on
|
||||
# every core rebuild. >= 2:%{version} (epoch 2, version, no release) lets any 2.18.0
|
||||
# genesis-base snap satisfy it, so routine core snaps no longer require a genesis-base
|
||||
# re-publish. (RPM ignores release when the dependency omits it.)
|
||||
Requires: xCAT-genesis-base-%{tarch} >= 2:%{version}
|
||||
# every core rebuild, and pinning >= 2:%{version} did the same on every marketing-version
|
||||
# bump (a 2.18.1 core then demanded a 2.18.1 genesis-base). genesis-base changes rarely,
|
||||
# so floor it at the 2.18.0 baseline: any 2.18.0-or-newer genesis-base snap satisfies it,
|
||||
# and core version bumps no longer force a genesis-base re-publish. (RPM ignores release
|
||||
# when the dependency omits it.)
|
||||
Requires: xCAT-genesis-base-%{tarch} >= 2:2.18.0
|
||||
|
||||
Buildroot: %{_localstatedir}/tmp/xCAT-genesis
|
||||
Packager: IBM Corp.
|
||||
|
||||
Reference in New Issue
Block a user