add -j option for building efficiency optimization

This commit is contained in:
tong_1001 2021-05-10 19:21:50 +08:00
parent 5d01663dd2
commit 31d3ad5c28

View File

@ -1,6 +1,6 @@
Name: crash Name: crash
Version: 7.2.9 Version: 7.2.9
Release: 2 Release: 3
Summary: Linux kernel crash utility. Summary: Linux kernel crash utility.
License: GPLv3 License: GPLv3
URL: https://crash-utility.github.io URL: https://crash-utility.github.io
@ -45,7 +45,7 @@ created by manufacturer-specific firmware.
%build %build
cp %{SOURCE1} . cp %{SOURCE1} .
make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" make -j RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}"
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
@ -76,6 +76,9 @@ install -D -m 0644 defs.h %{buildroot}%{_includedir}/%{name}/defs.h
%{_mandir}/man8/crash.8* %{_mandir}/man8/crash.8*
%changelog %changelog
* Mon May 10 2021 shixuantong <shixuantong@huawei.com> - 7.2.9-3
- add -j option for building efficiency optimization
* Thu Apr 08 2021 shixuantong <shixuantong@huawei.com> - 7.2.9-2 * Thu Apr 08 2021 shixuantong <shixuantong@huawei.com> - 7.2.9-2
- fix patch issue in upgrade version commit - fix patch issue in upgrade version commit