mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +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
|
||||||
%define kverpkg %{kver}
|
%if %{defined el6}
|
||||||
|
%define kverpkg %(echo %{kver} | %{__sed} -e 's/.%{_target_cpu}//g')
|
||||||
|
%else
|
||||||
|
%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