From 4e8d2c68b77cd40fce25383dd9973f6c643af704 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 16 Sep 2013 10:41:44 -0600 Subject: [PATCH] Rebuild for OCaml 4.01.0. --- ocaml-menhir.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ocaml-menhir.spec b/ocaml-menhir.spec index f0be53f..ecdd935 100644 --- a/ocaml-menhir.spec +++ b/ocaml-menhir.spec @@ -7,7 +7,7 @@ Name: ocaml-menhir Version: 20130911 -Release: 1%{?dist} +Release: 2%{?dist} Summary: LR(1) parser generator for OCaml # The library is LGPLv2+ with a linking exception. @@ -58,6 +58,9 @@ chmod a+x demos/ocamldep.wrapper # Prevent embedding buildroot paths into the executable sed -i 's/install: all/install:/' Makefile +# Enable debuginfo +sed -i 's/-j 0/-cflag -g -lflag -g &/' src/Makefile + %build make PREFIX=%{_prefix} TARGET=%{target} make -C demos clean @@ -81,6 +84,9 @@ mv demos/ocamldep.wrapper $RPM_BUILD_ROOT%{_bindir}/menhir-ocamldep %{_libdir}/ocaml/menhirLib/ %changelog +* Mon Sep 16 2013 Jerry James - 20130911-2 +- Rebuild for OCaml 4.01.0 + * Thu Sep 12 2013 Jerry James - 20130911-1 - New upstream version - Allow debuginfo generation since ocaml 4 supports it