Minor spec file cleanup for RHEL6 package dependency.
This commit is contained in:
parent
b974e4bf4d
commit
4221c8cf93
|
@ -94,7 +94,11 @@
|
|||
%endif
|
||||
%define kpkg kernel
|
||||
%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 =
|
||||
%if %{undefined kdir}
|
||||
%define kdir %{_usrsrc}/kernels/%{kver}-%{_target_cpu}
|
||||
|
|
Loading…
Reference in New Issue