From 0ba67cbfb02f2343a256a92c007f06d9454c1d03 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 21 Jul 2015 12:24:14 +0100 Subject: [PATCH] Enable bytecode compilation. --- ocaml-facile.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ocaml-facile.spec b/ocaml-facile.spec index f560960..3df9e47 100644 --- a/ocaml-facile.spec +++ b/ocaml-facile.spec @@ -4,7 +4,7 @@ Name: ocaml-facile Version: 1.1 -Release: 34%{?dist} +Release: 35%{?dist} Summary: OCaml library for constraint programming Summary(fr): Librairie OCaml de programmation par contraintes License: LGPLv2+ @@ -77,7 +77,11 @@ developing applications that use %{name}. # This is not autoconf, but a simple custom configure script. # The --faciledir directory is only used for "make install". ./configure --faciledir $RPM_BUILD_ROOT%{_libdir}/ocaml/facile +%if %opt make +%else +make OCAMLC=ocamlc OCAMLMLI=ocamlc +%endif %install mkdir -p $RPM_BUILD_ROOT%{_libdir}/ocaml @@ -100,6 +104,9 @@ make install %{_libdir}/ocaml/facile/*.mli %changelog +* Tue Jul 21 2015 Richard W.M. Jones - 1.1-35 +- Enable bytecode compilation. + * Wed Jun 24 2015 Richard W.M. Jones - 1.1-34 - ocaml-4.02.2 final rebuild.