diff options
author | Laura Abbott <labbott@redhat.com> | 2019-11-06 13:05:32 -0500 |
---|---|---|
committer | Laura Abbott <labbott@redhat.com> | 2019-11-13 10:01:45 -0500 |
commit | d6b81a036fe8e441c8b8f401a06c343a3e6d89f3 (patch) | |
tree | e36e84142b7200618f07dfdebab19669545b7c44 | |
parent | 897c1bc38db23dcf437f999d834cfb1fa5078d09 (diff) | |
download | kernel-d6b81a036fe8e441c8b8f401a06c343a3e6d89f3.tar.gz kernel-d6b81a036fe8e441c8b8f401a06c343a3e6d89f3.tar.xz kernel-d6b81a036fe8e441c8b8f401a06c343a3e6d89f3.zip |
Don't build kernel meta package if we are only building a sub-package
Borrowed from downstream, if we're not doing an arch build and
only building a sub-package don't bother building the kernel
meta package.
-rw-r--r-- | kernel.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel.spec b/kernel.spec index 83064524d..9ae95c965 100644 --- a/kernel.spec +++ b/kernel.spec @@ -2390,7 +2390,10 @@ fi %endif # empty meta-package +%ifnarch %nobuildarches noarch %files +%endif + %if %{with_gcov} %ifarch x86_64 s390x ppc64le aarch64 %files gcov |