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.
This commit is contained in:
parent
897c1bc38d
commit
d6b81a036f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user