Skip to content

tentacle: scripts/build/ceph.spec.in: fix rhel version checks#66865

Merged
batrick merged 1 commit intoceph:tentaclefrom
ronen-fr:wip-rf-66772-tentacle
Feb 10, 2026
Merged

tentacle: scripts/build/ceph.spec.in: fix rhel version checks#66865
batrick merged 1 commit intoceph:tentaclefrom
ronen-fr:wip-rf-66772-tentacle

Conversation

@ronen-fr
Copy link
Contributor

@ronen-fr ronen-fr commented Jan 9, 2026

Fixing multiple instances in this file where
the RHEL version is checked - without properly
ensuring that the OS is indeed RHEL.

0%{?rhel} is only defined on RHEL systems, and
is '0' otherwise. That resulted, for example, in
Fedora 43 having 'gts_version' incorrectly
set to '13'.

Backport of #66772
Fixes: https://tracker.ceph.com/issues/74369
Original tracker: https://tracker.ceph.com/issues/74368
(cherry picked from commit e042983)

Fixing multiple instances in this file where
the RHEL version is checked - without properly
ensuring that the OS is indeed RHEL.

0%{?rhel} is only defined on RHEL systems, and
is '0' otherwise. That resulted, for example, in
Fedora 43 having 'gts_version' incorrectly
set to '13'.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit e042983)
@github-actions github-actions bot added this to the tentacle milestone Jan 9, 2026
@ronen-fr ronen-fr added backport tentacle PRs that is a tentacle back-port bug-fix labels Jan 9, 2026
@ronen-fr
Copy link
Contributor Author

jenkins test make check

@ronen-fr
Copy link
Contributor Author

ronen-fr commented Feb 7, 2026

jenkins test api

@shraddhaag
Copy link
Contributor

@batrick batrick merged commit 8780317 into ceph:tentacle Feb 10, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants