From 17e7abe6476b3224e414ee469d2a06a579172a57 Mon Sep 17 00:00:00 2001 From: Jeff Makey Date: Sun, 26 Jul 2020 23:15:53 -0700 Subject: [PATCH] Use standard %make_build and %make_install macros in spec file. --- dump.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dump.spec b/dump.spec index b84dd5d..92a8869 100644 --- a/dump.spec +++ b/dump.spec @@ -70,14 +70,14 @@ export CFLAGS="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \ --with-mangrp=root \ --with-manmode=0644 -make %{?_smp_mflags} +%make_build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_mandir}/man8 -%makeinstall INSTALL="install -p" \ +%make_install \ SBINDIR=%{buildroot}%{_sbindir} \ BINDIR=%{buildroot}%{_sbindir} \ MANDIR=%{buildroot}%{_mandir}/man8 \