From aa514856986f3f2027931f7c358fe06e353b3dfa Mon Sep 17 00:00:00 2001 From: Jeff Makey Date: Jul 27 2020 06:15:25 +0000 Subject: Use standard %make_build and %make_install macros in spec file. --- diff --git a/bsd-games.spec b/bsd-games.spec index d435245..9cbc30f 100644 --- a/bsd-games.spec +++ b/bsd-games.spec @@ -97,14 +97,14 @@ sed -i.bak -e "s#@DESTDIR@#$RPM_BUILD_ROOT#" \ # Don't use %%configure. This configure script wasn't generated by # autoconf and doesn't obey things like --prefix. ./configure -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" %{?_smp_mflags} +%make_build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" # Rename one doc file to avoid naming collisions cp hunt/README README.hunt %install rm -rf $RPM_BUILD_ROOT -make RPM_BUILD_ROOT="$RPM_BUILD_ROOT" install +%make_install RPM_BUILD_ROOT="$RPM_BUILD_ROOT" # Change the binary name for monop to prevent a conflict with the mono-devel # package