From 030c25413d154368ae97f26bfdaf398d3d220ec4 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Nov 09 2020 17:51:36 +0000 Subject: Explicitly BR make. --- diff --git a/antlr3.spec b/antlr3.spec index 4f6f554..4dd4354 100644 --- a/antlr3.spec +++ b/antlr3.spec @@ -33,6 +33,7 @@ Patch6: 0006-antlr3memory.hpp-fix-for-C-20-mode.patch Patch7: 0007-update-java-target.patch BuildRequires: ant +BuildRequires: make BuildRequires: maven-local BuildRequires: mvn(org.antlr:antlr) BuildRequires: mvn(org.antlr:antlr3-maven-plugin) @@ -188,7 +189,7 @@ autoreconf -i %endif sed -i "s#CFLAGS = .*#CFLAGS = $RPM_OPT_FLAGS#" Makefile -make %{?_smp_mflags} +%make_build doxygen -u # update doxygen configuration file doxygen # build doxygen documentation popd @@ -221,7 +222,7 @@ EOF # install C runtime pushd runtime/C -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm $RPM_BUILD_ROOT%{_libdir}/libantlr3c.{a,la} pushd api/man/man3 for file in `ls -1 * | grep -vi "^antlr3"`; do