[packages/python-pbr] doc br

glen glen at pld-linux.org
Mon Dec 8 11:42:41 CET 2014


commit 8de31e8042bee476e50839458f1e03b96eb42d0e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Dec 8 12:42:35 2014 +0200

    doc br

 python-pbr.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/python-pbr.spec b/python-pbr.spec
index 7576f72..5db5c9e 100644
--- a/python-pbr.spec
+++ b/python-pbr.spec
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+%bcond_without	doc		# don't build doc
 %bcond_with	tests	# tests are failing currently
 %bcond_without	python2 # CPython 2.x module
 %bcond_with	python3 # CPython 3.x module
@@ -16,6 +17,9 @@ Source0:	http://pypi.python.org/packages/source/p/%{module}/%{module}-%{version}
 URL:		http://pypi.python.org/pypi/pbr
 BuildRequires:	rpmbuild(macros) >= 1.219
 BuildRequires:	rpm-pythonprov
+%if %{with doc}
+BuildRequires:	sphinx-pdg
+%endif
 %if %{with python2}
 # very new required, when also using tests
 BuildRequires:	python-Sphinx >= 1.1.3
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pbr.git/commitdiff/8de31e8042bee476e50839458f1e03b96eb42d0e



More information about the pld-cvs-commit mailing list