From 9441b7efc44186136322d5419ecf7b4af506ad98 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 24 Nov 2009 13:24:25 -0800 Subject: [PATCH] Add chaos5 and rhel6 macro's to the zfs-modules.spec.in --- zfs-modules.spec.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zfs-modules.spec.in b/zfs-modules.spec.in index 9b5e4716d9..57ed607aed 100644 --- a/zfs-modules.spec.in +++ b/zfs-modules.spec.in @@ -66,8 +66,8 @@ %endif %else -# CHAOS 4.x: -%if %{defined ch4} +# CHAOS 4.x/5.x: +%if %{defined ch4} || %{defined ch5} %if %{undefined kver} %define klnk %{_usrsrc}/kernels/*/include/config %define kver %((echo X; %{__cat} %{klnk}/kernel.release @@ -85,8 +85,8 @@ %endif %else -# RHEL 5: -%if %{defined el5} +# RHEL 5.x/6.x: +%if %{defined el5} || %{defined el6} %if %{undefined kver} %define klnk %{_usrsrc}/kernels/*/include/config %define kver %((echo X; %{__cat} %{klnk}/kernel.release