]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
scripts/build/ceph.spec.in: fix rhel version checks wip-rf-gtsversion
authorRonen Friedman <rfriedma@redhat.com>
Thu, 1 Jan 2026 14:35:33 +0000 (14:35 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 6 Jan 2026 16:27:32 +0000 (16:27 +0000)
commite042983a37c719fa021257477dc984a5acef378b
treeabade76323f0fe68ed2f4aabc604513f37abee0a
parent6e7fabd003ff21be9c077e00018505401053837f
scripts/build/ceph.spec.in: fix rhel version checks

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>
ceph.spec.in