Do not build-require w3m for generating manual.txt on rhel

This commit is contained in:
Honza Horak 2018-01-12 13:56:38 +01:00
parent af7b6cf54a
commit 5fa2e992e9

View File

@ -41,8 +41,10 @@ BuildRequires: ncurses-devel, gettext, automake
# manual generation # manual generation
BuildRequires: /usr/bin/xsltproc, docbook-style-xsl, perl-interpreter BuildRequires: /usr/bin/xsltproc, docbook-style-xsl, perl-interpreter
BuildRequires: perl-generators BuildRequires: perl-generators
%if 0%{!?rhel:1}
# html manual -> txt manual conversion (lynx messes up the encoding) # html manual -> txt manual conversion (lynx messes up the encoding)
BuildRequires: w3m BuildRequires: w3m
%endif
%if %{with hcache} %if %{with hcache}
%{?with_tokyocabinet:BuildRequires: tokyocabinet-devel} %{?with_tokyocabinet:BuildRequires: tokyocabinet-devel}