From 241c3344f53a7dd730b7d74857f35568579f32cc Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Feb 14 2024 13:22:40 +0000 Subject: Enable kernel-header req. for RHEL > 9 --- diff --git a/libnvme.spec b/libnvme.spec index d0c9893..97a846d 100644 --- a/libnvme.spec +++ b/libnvme.spec @@ -18,7 +18,7 @@ BuildRequires: json-c-devel >= 0.13 BuildRequires: openssl-devel BuildRequires: dbus-devel BuildRequires: keyutils-libs-devel -%if (0%{?rhel} == 0) +%if (0%{?rhel} == 0) || (0%{?rhel} > 9) BuildRequires: kernel-headers >= 5.15 %endif