From 085cd612d413a68fcd15814b8cf7a07a8ce0fa87 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 6 Jul 2023 13:21:33 -0400 Subject: [PATCH] Fix rocksdb conditional Use of the system rocksdb is disabled for Fedora and RHEL 10+, not enabled, because rocksdb there is too new. --- ceph.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec b/ceph.spec index 0cf1d1b..2de97c4 100644 --- a/ceph.spec +++ b/ceph.spec @@ -278,7 +278,7 @@ BuildRequires: libcurl-devel BuildRequires: libcap-devel BuildRequires: libcap-ng-devel #BuildRequires: fmt-devel >= 6.2.1 -%if 0%{?fedora} || 0%{?rhel} >= 10 +%if ! (0%{?fedora} || 0%{?rhel} >= 10) BuildRequires: rocksdb-devel Requires: rocksdb %endif