diff options
author | Brian Behlendorf <[email protected]> | 2011-03-31 13:43:49 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-03-31 13:49:42 -0700 |
commit | 34e4864009d32da5fe29393082a56b5272f65faa (patch) | |
tree | 1fb5f9bd12132cebde52ae780906b1928b1d7923 | |
parent | e88b041ed6a7ce358df25a7af057ea5c76dd1c2a (diff) |
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.
-rw-r--r-- | zfs-modules.spec.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zfs-modules.spec.in b/zfs-modules.spec.in index 7d0d633ce..8d96696a2 100644 --- a/zfs-modules.spec.in +++ b/zfs-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 |