From af67391e45967dfa63346fe5cc8d2748e79b8406 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 31 Mar 2011 13:43:49 -0700 Subject: [PATCH] Update CHAOS 5 Packaging The CHAOS 5 kernels are now packaged identially to the RHEL6 kernels. Therefore we can simply use the RHEL6 rules in the spec file when building packages. --- spl-modules.spec.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spl-modules.spec.in b/spl-modules.spec.in index 92ccbd21f..76dcfa643 100644 --- a/spl-modules.spec.in +++ b/spl-modules.spec.in @@ -66,8 +66,8 @@ %endif %else -# CHAOS 4.x/5.x: -%if %{defined ch4} || %{defined ch5} +# CHAOS 4.x: +%if %{defined ch4} %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.x/6.x: -%if %{defined el5} || %{defined el6} +# RHEL 5.x/6.x, CHAOS 5.x: +%if %{defined el5} || %{defined el6} || %{defined ch5} %if %{undefined kver} %define klnk %{_usrsrc}/kernels/*/include/config %define kver %((echo X; %{__cat} %{klnk}/kernel.release