Disable PDF building and enable epub inclusion
Ship built epub ARM in doc subpackage. But disable latex pdf building, since it is not built anymore and does not even exist.
This commit is contained in:
parent
fde3d45de1
commit
d435556498
|
@ -24,7 +24,7 @@
|
|||
# Current error: unable top find isc-logo.pdf
|
||||
%if 0%{?fedora}
|
||||
# RHEL and ELN do not have all required packages
|
||||
%bcond_without DOCPDF
|
||||
%bcond_with DOCPDF
|
||||
%endif
|
||||
%bcond_with TSAN
|
||||
%bcond_without DTRACE
|
||||
|
@ -637,6 +637,7 @@ do
|
|||
ln -s "$DIR" "$BINDTHEMEDIR"
|
||||
fi
|
||||
done
|
||||
cp -p build/doc/arm/_build/epub/Bv9ARM.epub ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||
%endif
|
||||
%if %{with DOCPDF}
|
||||
cp -p build/doc/arm/_build/latex/Bv9ARM.pdf ${RPM_BUILD_ROOT}%{_pkgdocdir}
|
||||
|
@ -962,6 +963,7 @@ fi;
|
|||
%dir %{_pkgdocdir}
|
||||
%doc %{_pkgdocdir}/html
|
||||
%doc %{_pkgdocdir}/Bv9ARM.html
|
||||
%doc %{_pkgdocdir}/Bv9ARM.epub
|
||||
%endif
|
||||
%if %{with DOCPDF}
|
||||
%doc %{_pkgdocdir}/Bv9ARM.pdf
|
||||
|
|
Loading…
Reference in New Issue