From 482ee00b090c7ccf39a4cd1ddab9b97344b00402 Mon Sep 17 00:00:00 2001 From: Rafael Santos Date: Mon, 9 Apr 2018 23:12:05 +0200 Subject: [PATCH] Use standard Fedora build and linker flags - Resolves #1548691 Signed-off-by: Rafael Santos --- lm_sensors.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lm_sensors.spec b/lm_sensors.spec index b930b4b..1300d2d 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -1,6 +1,6 @@ Name: lm_sensors Version: 3.4.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Hardware monitoring tools Group: Applications/System License: LGPLv2+ and GPLv3+ and GPLv2+ and Verbatim and Public Domain @@ -75,7 +75,7 @@ sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" lm_sensors.service %build -export CFLAGS="%{optflags}" +%set_build_flags make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} EXLDFLAGS= \ PROG_EXTRA=sensord user @@ -181,6 +181,9 @@ fi %changelog +* Mon Apr 09 2018 Rafael Santos - 3.4.0-11 +- Use standard Fedora build and linker flags (bug #1548691) + * Mon Feb 19 2018 Ondřej Lysoněk - 3.4.0-10 - Add gcc to BuildRequires