Skip to content

Commit

Permalink
Update CHAOS 5 Packaging
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
behlendorf committed Mar 31, 2011
1 parent e88b041 commit 34e4864
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zfs-modules.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 34e4864

Please sign in to comment.