diff --git a/rdkit.spec b/rdkit.spec index 563c83c..ea6c61a 100644 --- a/rdkit.spec +++ b/rdkit.spec @@ -206,6 +206,7 @@ chrpath -d librdkit.so popd %if 0%{?fedora} +%if 0%{with_docs} # Documentation (does not currently build on EPEL) export RDBASE=%{_builddir}/%{rootdir}/python2 pushd rdkit @@ -219,6 +220,7 @@ make latexpdf popd popd %endif +%endif %if 0%{?fedora} # Python 3 build