From 85d812951e2c13a5bd759e5fd30aa154c47712ad Mon Sep 17 00:00:00 2001 From: Timm Bäder Date: May 20 2021 11:24:47 +0000 Subject: Set all build flags using %set_build_flags --- diff --git a/dmidecode.spec b/dmidecode.spec index 95573ef..d1f1171 100644 --- a/dmidecode.spec +++ b/dmidecode.spec @@ -1,7 +1,7 @@ Summary: Tool to analyse BIOS DMI data Name: dmidecode Version: 3.3 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 License: GPLv2+ Source0: https://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz @@ -24,10 +24,11 @@ I/O ports (e.g. serial, parallel, USB). %setup -q %build -%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" +%set_build_flags +%make_build %install -%make_install %{?_smp_mflags} prefix=%{_prefix} install-bin install-man +%make_install prefix=%{_prefix} install-bin install-man %files %doc AUTHORS NEWS README @@ -41,6 +42,9 @@ I/O ports (e.g. serial, parallel, USB). %{_mandir}/man8/* %changelog +* Thu May 20 2021 Timm Bäder - 1:3.3-2 +- Set all build flags using %%set_build_flags + * Wed May 19 2021 Coiby Xu - 1:3.3-1 - updated to upstream v3.3 - Supported SMBIOS spec up to v3.3.0