From: Ondrej Mosnacek omosnace@redhat.com
spec: add missing BuildRequires: python3-docutils for tools
When %{with_tools} is 1 but %{with_bpftool} is 0, python3-docutils is not installed, even though the tools build depends on it to generate man pages. Add this missing dep under %if %{with_tools}.
Signed-off-by: Ondrej Mosnacek omosnace@redhat.com
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100755 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -615,6 +615,7 @@ BuildRequires: opencsd-devel >= 1.0.0 %endif %endif %if %{with_tools} +BuildRequires: python3-docutils BuildRequires: gettext ncurses-devel BuildRequires: libcap-devel libcap-ng-devel BuildRequires: libtracefs-devel
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2228
kernel@lists.fedoraproject.org