From: Brian Behlendorf Date: Tue, 24 Nov 2009 21:15:35 +0000 (-0800) Subject: Add chaos5 and rhel6 macro's to the spl-modules.spec.in X-Git-Tag: spl-0.4.7~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea385742dbe619f25d5a2b80aee9c9fd35ef2eed;p=spl Add chaos5 and rhel6 macro's to the spl-modules.spec.in --- diff --git a/spl-modules.spec.in b/spl-modules.spec.in index 0c3dd10..56bf74c 100644 --- a/spl-modules.spec.in +++ b/spl-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