From fb09fc443e7b5b140ae80abfd0bf3a6e83681bfc Mon Sep 17 00:00:00 2001 From: tong_1001 Date: Mon, 10 May 2021 19:26:13 +0800 Subject: [PATCH] add -j option for building efficiency optimization (cherry picked from commit f86e9290e885010625fa6519bec747396cf0c21a) --- crash.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crash.spec b/crash.spec index 7d63178..18f3b42 100644 --- a/crash.spec +++ b/crash.spec @@ -1,6 +1,6 @@ Name: crash Version: 7.2.8 -Release: 2 +Release: 3 Summary: Linux kernel crash utility. License: GPLv3 URL: https://crash-utility.github.io @@ -45,7 +45,7 @@ created by manufacturer-specific firmware. %build cp %{SOURCE1} . -make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" +make -j RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" %install rm -rf %{buildroot} @@ -76,6 +76,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h %{_mandir}/man8/crash.8* %changelog +* Mon May 10 2021 shixuantong - 7.2.8-3 +- add -j option for building efficiency optimization + * Sat Dec 12 2020 shixuantong - 7.2.8-2 - Update Source0, URL, add Source1 and update tarball from upstream release -- Gitee