Enable with_doc to generate docs for openstack-ironic
This commit is contained in:
parent
d3efdfaed1
commit
69dbe21b59
@ -1,8 +1,8 @@
|
|||||||
%global with_doc 0
|
%global with_doc 1
|
||||||
Name: openstack-ironic
|
Name: openstack-ironic
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Version: 16.0.4
|
Version: 16.0.4
|
||||||
Release: 0.1.dev3
|
Release: 0.2.dev3
|
||||||
Summary: Openstack Provisioning of Bare Metal Servers
|
Summary: Openstack Provisioning of Bare Metal Servers
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://launchpad.net/ironic
|
URL: https://launchpad.net/ironic
|
||||||
@ -156,7 +156,7 @@ BuildRequires: python3-sphinxcontrib-apidoc
|
|||||||
BuildRequires: python3-sphinxcontrib-httpdomain
|
BuildRequires: python3-sphinxcontrib-httpdomain
|
||||||
BuildRequires: python3-sphinxcontrib-pecanwsme
|
BuildRequires: python3-sphinxcontrib-pecanwsme
|
||||||
BuildRequires: python3-sphinxcontrib-seqdiag
|
BuildRequires: python3-sphinxcontrib-seqdiag
|
||||||
BuildRequires: python3-sphinxcontrib-rsvgconverter
|
BuildRequires: python3-sphinxcontrib-svg2pdfconverter
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
OpenStack bare metal provisioning service.
|
OpenStack bare metal provisioning service.
|
||||||
@ -187,8 +187,8 @@ This package contains the OpenStack Ironic Conductor Manager Daemon.
|
|||||||
%{py3_build}
|
%{py3_build}
|
||||||
|
|
||||||
%if 0%{?with_doc}
|
%if 0%{?with_doc}
|
||||||
PYTHONPATH=. PBR_VERSION=16.0.4.dev3 %sphinx_build --keep-going -b html doc/source doc/build/html
|
PYTHONPATH=. PBR_VERSION=16.0.4.dev3 sphinx-build --keep-going -b html doc/source doc/build/html
|
||||||
PYTHONPATH=. PBR_VERSION=16.0.4.dev3 %sphinx_build --keep-going -b man doc/source doc/build/man
|
PYTHONPATH=. PBR_VERSION=16.0.4.dev3 sphinx-build --keep-going -b man doc/source doc/build/man
|
||||||
# remove the Sphinx-build leftovers
|
# remove the Sphinx-build leftovers
|
||||||
rm -rf doc/build/html/.{doctrees,buildinfo}
|
rm -rf doc/build/html/.{doctrees,buildinfo}
|
||||||
rm -rf doc/build/man/.{doctrees,buildinfo}
|
rm -rf doc/build/man/.{doctrees,buildinfo}
|
||||||
@ -314,5 +314,7 @@ exit 0
|
|||||||
%{_bindir}/ironic-conductor
|
%{_bindir}/ironic-conductor
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 09 2021 huangtianhua <huangtianhua223@gmail.com>
|
||||||
|
- Enable with_doc to generate docs
|
||||||
* Mon Feb 08 2021 OpenStack rpm-packaging <huangtianhua223@gmail.com>
|
* Mon Feb 08 2021 OpenStack rpm-packaging <huangtianhua223@gmail.com>
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user