Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
This commit is contained in:
parent
0366c66634
commit
a2a06640f2
@ -1,7 +1,7 @@
|
||||
Name: perftest
|
||||
Summary: IB Performance Tests
|
||||
Version: 4.4
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2 or BSD
|
||||
Source: https://github.com/linux-rdma/perftest/releases/download/4.4-0.29/perftest-4.4-0.29.g817ec38.tar.gz
|
||||
Url: https://github.com/linux-rdma/perftest
|
||||
@ -25,7 +25,7 @@ find src -type f -iname '*.[ch]' -exec chmod a-x '{}' ';'
|
||||
|
||||
%build
|
||||
%configure
|
||||
make V=1 %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
for file in ib_{atomic,read,send,write}_{lat,bw} raw_ethernet_{lat,bw}; do
|
||||
@ -38,6 +38,10 @@ done
|
||||
%_bindir/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 4.4-4
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Sun May 24 2020 Honggang Li <honli@redhat.com> - 4.4-3
|
||||
- Rebase to upstream release perftest-4.4-0.29
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user