From a0efdff205f6044b3e46105d7c23ec8a4f9bb881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 8 Dec 2020 11:19:07 +0100 Subject: [PATCH] spec: Use make macros https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make --- linuxptp.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linuxptp.spec b/linuxptp.spec index 004f2cf..022dd5a 100644 --- a/linuxptp.spec +++ b/linuxptp.spec @@ -38,7 +38,7 @@ mv linuxptp-testsuite-%{testsuite_ver}* testsuite mv clknetsim-%{clknetsim_ver}* testsuite/clknetsim %build -make %{?_smp_mflags} \ +%{make_build} \ EXTRA_CFLAGS="$RPM_OPT_FLAGS" \ EXTRA_LDFLAGS="$RPM_LD_FLAGS" @@ -61,7 +61,7 @@ echo '.so man8/timemaster.8' > $RPM_BUILD_ROOT%{_mandir}/man5/timemaster.conf.5 cd testsuite # set random seed to get deterministic results export CLKNETSIM_RANDOM_SEED=26743 -make %{?_smp_mflags} -C clknetsim +%{make_build} -C clknetsim PATH=..:$PATH ./run %post