]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
scripts/build/ceph.spec.in: fix rhel version checks 66865/head
authorRonen Friedman <rfriedma@redhat.com>
Thu, 1 Jan 2026 14:35:33 +0000 (14:35 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Fri, 9 Jan 2026 15:44:02 +0000 (15:44 +0000)
commitbdfef2d0a4690d0ad59c66a1cdd1ee934e3bb4b1
treed5e663da57be25bd2e6824ac7b578fd2db0e127c
parentba0181c0fc1118f6199dc21db58da8ccc94ca0b7
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>
(cherry picked from commit e042983a37c719fa021257477dc984a5acef378b)
ceph.spec.in