From 2a2b5787b7305358fc3845253ef3daabe70a3a3b Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Feb 24 2020 04:14:19 +0000 Subject: Fix python-docutils BR in CentOS7 --- diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 4c34d77..7376313 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -561,7 +561,11 @@ BuildRequires: pciutils-devel %endif %endif %if %{with_bpftool} +%if 0%{?rhel} == 7 +BuildRequires: python2-docutils +%else BuildRequires: python3-docutils +%endif BuildRequires: zlib-devel binutils-devel %endif %if %{with_selftests}