From 33f507c0f3fb9976274bcf081bc0ce6fc3d5a771 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 2 Jul 2012 11:27:45 -0700 Subject: [PATCH] Remove Chaos 4.x RPM support The Chaos 4.x distribution is based on RHEL 5.x which is no longer supported by ZoL since it uses a 2.6.18 kernel. Signed-off-by: Brian Behlendorf --- spl-modules.spec.in | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/spl-modules.spec.in b/spl-modules.spec.in index 83955da..c27d0a5 100644 --- a/spl-modules.spec.in +++ b/spl-modules.spec.in @@ -150,46 +150,6 @@ %endif %else -# CHAOS 4.x: -%if %{defined ch4} - %if %{undefined kver} - %define klnk %{_usrsrc}/kernels/*/include/config - %define kver_kern %((echo X; %{__cat} %{klnk}/kernel.release - 2>/dev/null) | tail -1) - %define kver_dbug %{nil} - %else - %define kver_kern %{kver} - %define kver_dbug %{nil} - %endif - - %define kpkg_kern chaos-kernel - %define kpkg_dbug %{nil} - - %define kdevpkg_kern chaos-kernel-devel - %define kdevpkg_dbug %{nil} - - %define kverpkg_kern %{kver_kern} - %define kverpkg_dbug %{nil} - - %define koppkg = - - %if %{undefined kdir} - %define kdir_kern %{_usrsrc}/kernels/%{kver_kern} - %define kdir_dbug %{nil} - %else - %define kdir_kern %{kdir} - %define kdir_dbug %{nil} - %endif - - %if %{undefined kobj} - %define kobj_kern %{kdir_kern} - %define kobj_dbug %{nil} - %else - %define kobj_kern %{kobj} - %define kobj_dbug %{nil} - %endif -%else - # RHEL 5.x/6.x, CHAOS 5.x: %if %{defined el5} || %{defined el6} || %{defined ch5} %if %{undefined kver} @@ -313,7 +273,6 @@ %endif %endif %endif -%endif # Distro agnostic: %define name @PACKAGE@-modules -- 2.40.0