mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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.
This commit is contained in:
parent
734fcac78d
commit
af67391e45
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user