From 499aab79dceb169766d34a22f396c3852525bf55 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Fri, 8 Mar 2019 09:58:07 +0100 Subject: [PATCH] Add bcond bootstrap for building without openstackdocstheme while pbr is still missing --- python-pbr.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-pbr.spec b/python-pbr.spec index 5aa2aaa..5714194 100644 --- a/python-pbr.spec +++ b/python-pbr.spec @@ -1,5 +1,7 @@ %global pypi_name pbr +%bcond_with bootstrap + %if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %global do_test 0 @@ -19,7 +21,10 @@ BuildArch: noarch BuildRequires: python2-sphinx >= 1.1.3 + +%if ! %{with bootstrap} BuildRequires: python2-openstackdocstheme +%endif %description