From 13f116f7c2fdba9a1f3b8fcdf73b6108528924c8549a82099ff6fd06237bb513 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 22 Mar 2018 19:27:11 +0000 Subject: [PATCH] - Show testsuite.log on failure. Now, always run it on PPC. OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=9 --- osmo-iuh.changes | 5 +++++ osmo-iuh.spec | 12 ++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/osmo-iuh.changes b/osmo-iuh.changes index ab3c30c..877c7d3 100644 --- a/osmo-iuh.changes +++ b/osmo-iuh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 22 19:26:39 UTC 2018 - jengelh@inai.de + +- Show testsuite.log on failure. Now, always run it on PPC. + ------------------------------------------------------------------- Mon Jan 1 23:09:44 UTC 2018 - jengelh@inai.de diff --git a/osmo-iuh.spec b/osmo-iuh.spec index e7d701d..d797b06 100644 --- a/osmo-iuh.spec +++ b/osmo-iuh.spec @@ -1,7 +1,7 @@ # # spec file for package osmo-iuh # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,13 +15,14 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: osmo-iuh Version: 0.2.0 Release: 0 Summary: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) -License: AGPL-3.0+ AND GPL-2.0+ +License: AGPL-3.0-or-later AND GPL-2.0-or-later Group: Hardware/Mobile -URL: https://osmocom.org/projects/osmohnbgw/wiki +Url: https://osmocom.org/projects/osmohnbgw/wiki Source: %name-%version.tar.xz Patch1: 0001-fix-compiler-warning-implicit-function-declaration-i.patch Patch2: 0001-fix-return-values.patch @@ -76,9 +77,12 @@ make %{?_smp_mflags} find "%buildroot" -type f -name "*.la" -delete -print %check +if ! make %{?_smp_mflags} check; then + find . -type f -name testsuite.log -exec cat "{}" "+" %ifnarch ppc ppc64 -make %{?_smp_mflags} check + exit 1 %endif +fi %post -n libosmo-ranap1 -p /sbin/ldconfig %postun -n libosmo-ranap1 -p /sbin/ldconfig