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