Disable kernel-headers only in Fedora

For ease of building on other targets that still
build the headers in the same spec file, add a
guard around the kernel headers

[labbott: Add more commit text]
This commit is contained in:
Pablo Greco 2018-10-11 11:41:39 -07:00 committed by Laura Abbott
parent 572a49234e
commit 25940548c9
1 changed files with 2 additions and 0 deletions

View File

@ -125,8 +125,10 @@ Summary: The Linux kernel
%define debugbuildsenabled 0
# Kernel headers are being split out into a separate package
%if 0%{fedora}
%define with_headers 0
%define with_cross_headers 0
%endif
%if %{with_verbose}
%define make_opts V=1