From c2369388d3a53c5caa5a69fefd79c48027818d3a5fb7b1f96fc0c2a2a84ee4b6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 19 Feb 2018 07:17:33 +0000 Subject: [PATCH] Accepting request 573323 from home:michel_mno:branches:security - force -j1 for PowerPC make check to avoid build failure (lookup_test.o: file not recognized: File truncated) OBS-URL: https://build.opensuse.org/request/show/573323 OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=96 --- audit-secondary.changes | 6 ++++++ audit-secondary.spec | 4 ++++ 2 files changed, 10 insertions(+) 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)