From 0625640dffc2d767b0da2e6e828b9ae62f96d318 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Fri, 17 Jan 2020 03:55:50 +0000 Subject: [PATCH] Use make_build macro The packaging guide[1] says that the make_build macro should be used. This also makes it possible for a build root to inject arguments to make by overriding the __make macro. [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make --- lm_sensors.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lm_sensors.spec b/lm_sensors.spec index cb5ff1b..8ac0812 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -1,6 +1,6 @@ Name: lm_sensors Version: 3.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Hardware monitoring tools %define upstream_version %(echo %{version} | sed -e 's/\\./-/g') @@ -95,7 +95,7 @@ sed -i "s|\@WRAPPER_DIR\@|%{_libexecdir}/%{name}|" lm_sensors.service %build %set_build_flags -make PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ +%{make_build} PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ EXLDFLAGS="$LDFLAGS" PROG_EXTRA=sensord BUILD_STATIC_LIB=0 user @@ -199,6 +199,9 @@ fi %changelog +* Fri Jan 17 2020 Tom Stellard - 3.6.0-2 +- Use make_build macro + * Fri Oct 18 2019 Ondřej Lysoněk - 3.6.0-1 - New version