Use %make_build macro
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
This commit is contained in:
parent
f1cb373225
commit
0d2f8470a0
@ -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 <tbaeder@redhat.com> - 1.1.0-8
|
||||
- Use %%make_build macro
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user