diff options
author | Laura Abbott <labbott@redhat.com> | 2019-11-14 12:49:29 -0500 |
---|---|---|
committer | Laura Abbott <labbott@redhat.com> | 2019-11-14 12:49:29 -0500 |
commit | e2cf7bd7e5f8918fb1c206610f23d10fcf889d08 (patch) | |
tree | 3a2e7bb7ac4901ec6f03d73c72e35da21dd6fa85 | |
parent | bd2450b71d7fd14a9911bfe68b2036087dd5d388 (diff) | |
download | kernel-e2cf7bd7e5f8918fb1c206610f23d10fcf889d08.tar.gz kernel-e2cf7bd7e5f8918fb1c206610f23d10fcf889d08.tar.xz kernel-e2cf7bd7e5f8918fb1c206610f23d10fcf889d08.zip |
Make dwarves Fedora only
This isn't quite ready for other buildroots yet, just mark it as Fedora
only.
Signed-off-by: Laura Abbott <labbott@redhat.com>
-rw-r--r-- | kernel.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec index 8495d29bf..3cfa5225f 100644 --- a/kernel.spec +++ b/kernel.spec @@ -516,7 +516,10 @@ Requires: kernel-modules-uname-r = %{KVERREL}%{?variant} BuildRequires: kmod, patch, bash, tar, git-core BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex -BuildRequires: net-tools, hostname, bc, elfutils-devel, dwarves +BuildRequires: net-tools, hostname, bc, elfutils-devel +%if 0%{?fedora} +BuildRequires: dwarves +%endif # Used to mangle unversioned shebangs to be Python 3 BuildRequires: python3-devel %if %{with_headers} @@ -543,7 +546,9 @@ BuildConflicts: rhbuildsys(DiskFree) < 500Mb %if %{with_debuginfo} BuildRequires: rpm-build, elfutils BuildConflicts: rpm < 4.13.0.1-19 +%if 0%{?fedora} BuildConflicts: dwarves < 1.13 +%endif # Most of these should be enabled after more investigation %undefine _include_minidebuginfo %undefine _find_debuginfo_dwz_opts |