[packages/weechat] enable doc by default

atler atler at pld-linux.org
Sat Jan 16 01:36:54 CET 2021


commit 1e6a49664c28253c3ac0e8ab349f24cfe44d4c89
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jan 16 00:50:04 2021 +0100

    enable doc by default

 weechat.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/weechat.spec b/weechat.spec
index c839b92..defc658 100644
--- a/weechat.spec
+++ b/weechat.spec
@@ -5,7 +5,7 @@
 # Conditional build:
 # Features
 %bcond_without	aspell	# don't build aspell support
-%bcond_with	doc	# don't build docs
+%bcond_without	doc	# don't build docs
 # Bindings
 %bcond_without	guile	# don't enable Scheme (guile) scripting language
 %bcond_without	lua	# don't enable Lua scripting language
@@ -32,7 +32,6 @@ Group:		Applications/Communications
 Source0:	http://www.weechat.org/files/src/%{name}-%{version}.tar.gz
 # Source0-md5:	32f1df27dc643c4e7b4cee25d821e7ed
 URL:		http://www.weechat.org/
-%{?with_doc:BuildRequires:	asciidoctor}
 %{?with_aspell:BuildRequires:	aspell-devel}
 BuildRequires:	cmake >= 3.0
 BuildRequires:	curl-devel
@@ -45,6 +44,7 @@ BuildRequires:	ncurses-devel
 %{?with_perl:BuildRequires:	perl-devel}
 %{?with_php:BuildRequires:	%{php_name}-devel >= 4:7}
 BuildRequires:	pkgconfig
+%{?with_doc:BuildRequires:	ruby-asciidoctor}
 BuildRequires:	sed >= 4.0
 %{?with_js:BuildRequires:	v8-devel}
 %if %{with python}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/weechat.git/commitdiff/8f33c8f15fa7df2eefd0e15ebfca36e6d1cd3b8f



More information about the pld-cvs-commit mailing list