From fa881d4addb7baa44c69350b91bdf0503221d7af Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 2 Jul 2012 15:16:05 -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 --- zfs-modules.spec.in | 41 ----------------------------------------- 1 file changed, 41 deletions(-) diff --git a/zfs-modules.spec.in b/zfs-modules.spec.in index 798ac10f6..5aea11a50 100644 --- a/zfs-modules.spec.in +++ b/zfs-modules.spec.in @@ -128,46 +128,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} @@ -291,7 +251,6 @@ %endif %endif %endif -%endif # spldir: Full path to the spl source headers # splobj: Full path to the spl build objects