From 111964df3e9c0a70a4e33b3d4f2dc60ca404c97b Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 9 Nov 2020 16:49:13 -0700 Subject: [PATCH] Explicitly BR make. --- ocaml-ocplib-simplex.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ocaml-ocplib-simplex.spec b/ocaml-ocplib-simplex.spec index 245fe9b..2abbfaf 100644 --- a/ocaml-ocplib-simplex.spec +++ b/ocaml-ocplib-simplex.spec @@ -19,6 +19,7 @@ Patch0: %{name}-tests.patch Patch1: %{name}-destdir.patch BuildRequires: autoconf +BuildRequires: make BuildRequires: ocaml BuildRequires: ocaml-findlib BuildRequires: ocaml-num-devel @@ -46,16 +47,15 @@ sed -i '/OCAMLFIND_DESTDIR/d' Makefile.in %build %configure %ifarch %{ocaml_native_compiler} -make %{?_smp_mflags} opt +%make_build opt %else -make %{?_smp_mflags} byte +%make_build byte %endif %install -export DESTDIR=%{buildroot} export OCAMLFIND_DESTDIR=%{buildroot}%{_libdir}/ocaml mkdir -p $OCAMLFIND_DESTDIR -make install +%make_install %check make local-tests