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