[ocaml-res] Disable latex/PDF doc generation as texlive is broken (RHBZ#919891).

Richard W.M. Jones rjones at fedoraproject.org
Mon Aug 5 08:14:11 UTC 2013


commit 650c92d54b1d4cfa3488b5a4e8de9bb9bbbacef4
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Aug 5 09:10:02 2013 +0100

    Disable latex/PDF doc generation as texlive is broken (RHBZ#919891).

 ocaml-res.spec |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/ocaml-res.spec b/ocaml-res.spec
index c2cb519..5d8bace 100644
--- a/ocaml-res.spec
+++ b/ocaml-res.spec
@@ -3,7 +3,7 @@
 
 Name:           ocaml-res
 Version:        3.2.0
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        OCaml library for resizing arrays and strings
 
 License:        LGPLv2+ with exceptions
@@ -15,10 +15,6 @@ ExcludeArch:    sparc64 s390 s390x
 BuildRequires:  ocaml >= 3.10.0
 BuildRequires:  ocaml-findlib-devel
 BuildRequires:  ocaml-ocamldoc
-BuildRequires:  texlive-texconfig, texlive-latex-bin-bin, texlive-dvips-bin
-BuildRequires:  texlive-metafont-bin, texlive-cm, texlive-ec
-BuildRequires:  texlive-preprint, texlive-cm-super, ghostscript
-BuildRequires:  texlive-pdftex-bin
 
 
 %description
@@ -50,7 +46,9 @@ developing applications that use %{name}.
 %build
 make
 
-make doc
+# Generate only the HTML docs.
+make -C lib htdoc
+ln -sf lib/doc
 
 
 %install
@@ -73,7 +71,6 @@ make install
 %files devel
 %doc LICENSE README.txt Changelog TODO
 %doc lib/doc/res/html
-%doc lib/doc/res/latex/*.dvi lib/doc/res/latex/*.ps lib/doc/res/latex/*.pdf
 %if %opt
 %{_libdir}/ocaml/res/*.a
 %{_libdir}/ocaml/res/*.cmxa
@@ -82,6 +79,9 @@ make install
 
 
 %changelog
+* Mon Aug  5 2013 Richard W.M. Jones <rjones at redhat.com> - 3.2.0-14
+- Disable latex/PDF doc generation as texlive is broken (RHBZ#919891).
+
 * Sun Aug  4 2013 Richard W.M. Jones <rjones at redhat.com> - 3.2.0-13
 - Modernize the spec file.
 - +BR texlive-pdftex-bin to make latex work.


More information about the scm-commits mailing list