From 88e25ccc400e1591840fe79b263379d91f480643 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Jul 21 2020 20:36:59 +0000 Subject: Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- diff --git a/qperf.spec b/qperf.spec index d07e462..6e16bff 100644 --- a/qperf.spec +++ b/qperf.spec @@ -1,7 +1,7 @@ Name: qperf Summary: Measure socket and RDMA performance Version: 0.4.9 -Release: 18%{?dist} +Release: 19%{?dist} License: GPLv2 or BSD Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz Url: http://www.openfabrics.org @@ -23,10 +23,10 @@ Measure socket and RDMA performance. %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure -make %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install +%make_install %files %license COPYING @@ -34,6 +34,10 @@ make DESTDIR=%{buildroot} install %_mandir/man1/qperf.1* %changelog +* Tue Jul 21 2020 Tom Stellard - 0.4.9-19 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Sun Jul 19 2020 Honggang Li - 0.4.9-18 - Add BR perl-diagnostics and perl-POSIX