mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 03:09:34 +03:00
Minor spec file cleanup for RHEL6 package dependency.
This commit is contained in:
parent
32f5faff69
commit
edbbb609bd
@ -94,7 +94,11 @@
|
|||||||
%endif
|
%endif
|
||||||
%define kpkg kernel
|
%define kpkg kernel
|
||||||
%define kdevpkg kernel-devel
|
%define kdevpkg kernel-devel
|
||||||
|
%if %{defined el6}
|
||||||
|
%define kverpkg %(echo %{kver} | %{__sed} -e 's/.%{_target_cpu}//g')
|
||||||
|
%else
|
||||||
%define kverpkg %{kver}
|
%define kverpkg %{kver}
|
||||||
|
%endif
|
||||||
%define koppkg =
|
%define koppkg =
|
||||||
%if %{undefined kdir}
|
%if %{undefined kdir}
|
||||||
%define kdir %{_usrsrc}/kernels/%{kver}-%{_target_cpu}
|
%define kdir %{_usrsrc}/kernels/%{kver}-%{_target_cpu}
|
||||||
|
Loading…
Reference in New Issue
Block a user