Rebuild for OCaml 4.01.0.

This commit is contained in:
Jerry James 2013-09-16 10:41:44 -06:00
parent 7c97020403
commit 4e8d2c68b7

View File

@ -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 <loganjerry@gmail.com> - 20130911-2
- Rebuild for OCaml 4.01.0
* Thu Sep 12 2013 Jerry James <loganjerry@gmail.com> - 20130911-1
- New upstream version
- Allow debuginfo generation since ocaml 4 supports it