diff --git a/audit-secondary.changes b/audit-secondary.changes index f6ec1f5..e1a5997 100644 --- a/audit-secondary.changes +++ b/audit-secondary.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 6 13:24:43 UTC 2018 - normand@linux.vnet.ibm.com + +- force -j1 for PowerPC make check to avoid build failure + (lookup_test.o: file not recognized: File truncated) + ------------------------------------------------------------------- Wed Jan 17 15:25:55 UTC 2018 - tchvatal@suse.com diff --git a/audit-secondary.spec b/audit-secondary.spec index bf34b7f..40738c1 100644 --- a/audit-secondary.spec +++ b/audit-secondary.spec @@ -173,7 +173,11 @@ ln -s service %{buildroot}%{_sbindir}/rcauditd chmod 0644 %{buildroot}%{_unitdir}/auditd.service %check +%ifarch ppc ppc64 ppc64le +make -j1 check +%else make %{?_smp_mflags} check +%endif %post -n audit # Save existing audit files if any (from old locations)