From 5fa2e992e9f4c8fdeaffc5d4feac9611ee402bec Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Fri, 12 Jan 2018 13:56:38 +0100 Subject: [PATCH] Do not build-require w3m for generating manual.txt on rhel --- mutt.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mutt.spec b/mutt.spec index 199d073..673cd8b 100644 --- a/mutt.spec +++ b/mutt.spec @@ -41,8 +41,10 @@ BuildRequires: ncurses-devel, gettext, automake # manual generation BuildRequires: /usr/bin/xsltproc, docbook-style-xsl, perl-interpreter BuildRequires: perl-generators +%if 0%{!?rhel:1} # html manual -> txt manual conversion (lynx messes up the encoding) BuildRequires: w3m +%endif %if %{with hcache} %{?with_tokyocabinet:BuildRequires: tokyocabinet-devel}