From 0d2f8470a0b984c31eba82bc19f675067a34c4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 11 May 2021 10:10:27 +0200 Subject: [PATCH] Use %make_build macro https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make --- libocxl.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libocxl.spec b/libocxl.spec index 3742412..646c805 100644 --- a/libocxl.spec +++ b/libocxl.spec @@ -1,6 +1,6 @@ Name: libocxl Version: 1.1.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Allows to implement a user-space driver for an OpenCAPI accelerator License: ASL 2.0 @@ -40,7 +40,8 @@ developing applications that use %{name}. %autosetup -p1 %build -LDFLAGS="%{build_ldflags}" CFLAGS="%{build_cflags}" make %{?_smp_mflags} V=1 +%set_build_flags +%make_build %install %make_install PREFIX=%{_prefix} @@ -59,6 +60,9 @@ LDFLAGS="%{build_ldflags}" CFLAGS="%{build_cflags}" make %{?_smp_mflags} V=1 %{_pkgdocdir} %changelog +* Tue May 11 2021 Timm Bäder - 1.1.0-8 +- Use %%make_build macro + * Tue Jan 26 2021 Fedora Release Engineering - 1.1.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild