From 55fd8a4404fcfc329dbb76d8ea8c07e754779a29 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 14 Jul 2020 02:17:02 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- nvml.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvml.spec b/nvml.spec index 550f7c6..704db84 100644 --- a/nvml.spec +++ b/nvml.spec @@ -609,12 +609,12 @@ provided in the command line options to check whether files are in a consistent # optimizations. CFLAGS="%{optflags}" \ LDFLAGS="%{?__global_ldflags}" \ -make %{?_smp_mflags} NORPATH=1 +%make_build NORPATH=1 # Override LIB_AR with empty string to skip installation of static libraries %install -make install DESTDIR=%{buildroot} \ +%make_install \ LIB_AR= \ prefix=%{_prefix} \ libdir=%{_libdir} \