#2 Add bcond bootstrap
Merged 5 years ago by mrunge. Opened 5 years ago by kanarip.
rpms/ kanarip/python-pbr epel8  into  master

file modified
+5
@@ -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 @@ 

  

  

  BuildRequires: python2-sphinx >= 1.1.3

+ 

+ %if ! %{with bootstrap}

  BuildRequires: python2-openstackdocstheme

+ %endif

  

  

  %description

python-pbr will need to be available to build openstackdocstheme, so allow to break this dependency loop.

Pull-Request has been merged by mrunge

5 years ago

python2-openstackdocstheme is gone and python2-sphinx is going away. on the other hand python3-pbr is needed early in the python3 bootstrap process. I ended up needed this instead for the initial Python 3.8 bootstrap: https://src.fedoraproject.org/rpms/python-pbr/pull-request/3