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
|
%endif
|
||||||
|
|
||||||
# empty meta-package
|
# empty meta-package
|
||||||
|
%ifnarch %nobuildarches noarch
|
||||||
%files
|
%files
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with_gcov}
|
%if %{with_gcov}
|
||||||
%ifarch x86_64 s390x ppc64le aarch64
|
%ifarch x86_64 s390x ppc64le aarch64
|
||||||
%files gcov
|
%files gcov
|
||||||
|
Loading…
Reference in New Issue
Block a user