python2 and comment out %mandir properly

This commit is contained in:
Jens Petersen 2017-12-28 17:41:20 +01:00
parent 32be9d0079
commit a122fc3e75
1 changed files with 3 additions and 3 deletions

View File

@ -69,10 +69,10 @@ BuildRequires: ncurses-devel
# for man and docs # for man and docs
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
%if %{undefined without_testsuite} %if %{undefined without_testsuite}
BuildRequires: python BuildRequires: python2
%endif %endif
%if %{undefined without_manual} %if %{undefined without_manual}
BuildRequires: python-sphinx BuildRequires: python2-sphinx
%endif %endif
%ifarch armv7hl aarch64 %ifarch armv7hl aarch64
BuildRequires: llvm%{llvm_major} BuildRequires: llvm%{llvm_major}
@ -518,7 +518,7 @@ fi
%{ghclibdir}/latex %{ghclibdir}/latex
%if %{undefined without_manual} %if %{undefined without_manual}
# https://ghc.haskell.org/trac/ghc/ticket/12939 # https://ghc.haskell.org/trac/ghc/ticket/12939
#%{_mandir}/man1/ghc.* #%%{_mandir}/man1/ghc.*
## needs pandoc ## needs pandoc
#%%{ghc_html_dir}/Cabal #%%{ghc_html_dir}/Cabal
%{ghc_html_dir}/haddock %{ghc_html_dir}/haddock