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