From 7fc5e6a3453bfe12891ee976636667cb82ac5d67 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Feb 04 2020 01:45:46 +0000 Subject: Use %make_build macro instead of plain make This will make it possible for buildroots to inject arguments to make by redefining the %__make macro. --- diff --git a/dmidecode.spec b/dmidecode.spec index 89e1c08..ea5a612 100644 --- a/dmidecode.spec +++ b/dmidecode.spec @@ -1,7 +1,7 @@ Summary: Tool to analyse BIOS DMI data Name: dmidecode Version: 3.2 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 1 License: GPLv2+ Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz @@ -60,7 +60,7 @@ I/O ports (e.g. serial, parallel, USB). %patch17 -p1 %build -make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" +%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" %install make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install-man @@ -78,6 +78,9 @@ make %{?_smp_mflags} DESTDIR=%{buildroot} prefix=%{_prefix} install-bin install- %{_mandir}/man8/* %changelog +* Mon Feb 03 2020 Tom Stellard - 1:3.2-6 +- Use make_build macro instead of plain make + * Tue Jan 28 2020 Fedora Release Engineering - 1:3.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild