From ffa39c8cfebae4576c14cd3924d63a3afbbfbf0d Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Thu, 13 Oct 2022 21:53:22 +0800 Subject: [PATCH] dist: relax build time requirements on python-docutils Upstream: no Make the dependency more flexible on different distro. --- dist/templates/kernel.template.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/templates/kernel.template.spec b/dist/templates/kernel.template.spec index 2873c1f68..a2e42b13c 100644 --- a/dist/templates/kernel.template.spec +++ b/dist/templates/kernel.template.spec @@ -162,7 +162,8 @@ BuildRequires: xmlto, asciidoc %if %{with_bpftool} BuildRequires: llvm -BuildRequires: python3-docutils +# We don't care about this utils's python version, since we only want rst2* commands during build time +BuildRequires: /usr/bin/rst2man BuildRequires: zlib-devel binutils-devel %endif