From 383969ed56e1e7dc77bae95809fac8b7c34bfd2c Mon Sep 17 00:00:00 2001 From: Jerry James Date: Nov 11 2020 18:16:58 +0000 Subject: Explicitly BR make. --- diff --git a/hevea.spec b/hevea.spec index b8798c0..1ad3c28 100644 --- a/hevea.spec +++ b/hevea.spec @@ -10,8 +10,10 @@ License: QPL URL: http://hevea.inria.fr/ Source0: http://hevea.inria.fr/distri/%{name}-%{version}.tar.gz Source1: http://hevea.inria.fr/distri/%{name}-%{version}-manual.pdf -BuildRequires: ocaml, tex(latex) +BuildRequires: make +BuildRequires: ocaml BuildRequires: ocaml-ocamlbuild +BuildRequires: tex(latex) Requires: tex(latex) netpbm-progs ghostscript-core tex(dvips) @@ -35,7 +37,7 @@ mv -f CHANGES.utf8 CHANGES # The next line causes ocamlbuild to pass -g everywhere: echo true: debug >> _tags ulimit -s unlimited -make %{?_smp_mflags} \ +%make_build \ %ifnarch %{ocaml_native_compiler} TARGET=byte \ %endif @@ -45,11 +47,10 @@ make %{?_smp_mflags} \ %install -make install \ +%make_install \ %ifnarch %{ocaml_native_compiler} TARGET=byte \ %endif - DESTDIR=%{buildroot} PREFIX=%{_prefix} \ LIBDIR=%{_datadir}/hevea \ LATEXLIBDIR=%{_texmf}/tex/latex/hevea