From: Ondrej Mosnacek <[email protected]>

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 <[email protected]>

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 mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to