Work around incorrect kernel provides on RHEL 9 s390x

On RHEL 9 s390x, kernel incorrectly pulls in kernel-zfcpdump-core
https://bugzilla.redhat.com/show_bug.cgi?id=2027654
This commit is contained in:
Richard W.M. Jones 2021-11-30 11:02:04 +00:00
parent 8d0c6850b4
commit 87c3622fef
1 changed files with 8 additions and 0 deletions

View File

@ -72,6 +72,14 @@ BuildRequires: gnupg2
# tests to not require these packages.
BuildRequires: augeas hivex kernel tar
%if 0%{?rhel}
%ifarch s390x
# On RHEL 9 s390x, kernel incorrectly pulls in kernel-zfcpdump-core
# https://bugzilla.redhat.com/show_bug.cgi?id=2027654
BuildRequires: kernel-core
%endif
%endif
# For complicated reasons, this is required so that
# /bin/kernel-install puts the kernel directly into /boot, instead of
# into a /boot/<machine-id> subdirectory (in Fedora >= 23). Read the