From 5ac6d68d8f4dfcde0a0743442626255c16eefebf Mon Sep 17 00:00:00 2001 From: Gris Ge Date: Fri, 18 May 2018 18:05:06 +0800 Subject: [PATCH] Fix missing build requirement of python2-pywbem Signed-off-by: Gris Ge --- libstoragemgmt.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libstoragemgmt.spec b/libstoragemgmt.spec index f86a03e..65c4fb3 100644 --- a/libstoragemgmt.spec +++ b/libstoragemgmt.spec @@ -114,6 +114,9 @@ Summary: Files for SMI-S generic array support for %{name} Group: System Environment/Libraries BuildRequires: python3-pywbem Requires: python3-pywbem +%if %{with python2} +BuildRequires: python2-pywbem +%endif BuildArch: noarch Provides: %{name}-ibm-v7k-plugin = 2:%{version}-%{release} Obsoletes: %{name}-ibm-v7k-plugin <= 2:0.1.0-3