From a53503419f63ab293b7bbe3fe0cf81bd0fff2be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Thu, 10 Dec 2020 14:37:41 +0100 Subject: [PATCH] Use make macros https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make --- opensm.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/opensm.spec b/opensm.spec index b3a1018..8873ed0 100644 --- a/opensm.spec +++ b/opensm.spec @@ -2,7 +2,7 @@ Name: opensm Version: 3.3.23 -Release: 4%{?dist} +Release: 5%{?dist} Summary: OpenIB InfiniBand Subnet Manager and management utilities License: GPLv2 or BSD Url: https://github.com/linux-rdma/opensm @@ -63,12 +63,12 @@ Static version of opensm libraries ./autogen.sh %endif %configure --with-opensm-conf-sub-dir=rdma -make %{?_smp_mflags} +%make_build cd opensm ./opensm -c ../opensm-%{version}.conf %install -make install DESTDIR=%{buildroot} +%make_install # remove unpackaged files from the buildroot rm -f %{buildroot}%{_libdir}/*.la rm -fr %{buildroot}%{_sysconfdir}/init.d @@ -120,6 +120,10 @@ fi %{_libdir}/lib*.a %changelog +* Thu Dec 10 2020 Timm Bäder 3.3.23.5 +- Use make macros + https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make + * Thu Dec 10 2020 Honggang Li - 3.3.23-4 - opensm service should after rdma-hw.target