Use standard Fedora build and linker flags

- Resolves #1548691

Signed-off-by: Rafael Santos <rdossant@redhat.com>
This commit is contained in:
Rafael Santos 2018-04-09 23:12:05 +02:00
parent 82af4aa38a
commit 482ee00b09

View File

@ -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 <rdossant@redhat.com> - 3.4.0-11
- Use standard Fedora build and linker flags (bug #1548691)
* Mon Feb 19 2018 Ondřej Lysoněk <olysonek@redhat.com> - 3.4.0-10
- Add gcc to BuildRequires