[packages/hitch] add docs bcond
glen
glen at pld-linux.org
Sun Jun 25 19:55:40 CEST 2017
commit 2377af170173a76aa5d28c81151efd47fc24a792
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Jun 25 20:49:32 2017 +0300
add docs bcond
BR docutils for rst2man
configure: WARNING: rst2man/rst2man.py were not found, Hitch will lack
man pages. To fix this, please install python-docutils first and re-run configure.
hitch.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/hitch.spec b/hitch.spec
index b1ece9d..ed6e5ad 100644
--- a/hitch.spec
+++ b/hitch.spec
@@ -1,6 +1,7 @@
#
# Conditional build:
%bcond_with tests # run tests. needs internet connection
+%bcond_without doc # build documentation (man page)
Summary: Network proxy that terminates TLS/SSL connections
Name: hitch
@@ -18,6 +19,9 @@ BuildRequires: libtool
BuildRequires: openssl
BuildRequires: openssl-devel >= 1.0.0
BuildRequires: rpmbuild(macros) >= 1.647
+%if %{with doc}
+BuildRequires: docutils
+%endif
Requires(post,preun): /sbin/chkconfig
Requires(post,preun,postun): systemd-units >= 38
Requires: rc-scripts
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hitch.git/commitdiff/2292e814036ae0a384b674aef91e5ab9e7414956
More information about the pld-cvs-commit
mailing list