From 79f0ba316f2106115ce7b1ae6de68c64bbd132a2 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Tue, 22 Apr 2014 16:06:43 +0200 Subject: [PATCH] golang is exclusivearch %{ix86} x86_64 %{arm}, don't BR it on ppc*, s390* unit tests fail on other ppc archs, too. disable for now --- swig.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/swig.spec b/swig.spec index 93c3446..e1c20eb 100644 --- a/swig.spec +++ b/swig.spec @@ -7,7 +7,7 @@ %{!?rubylang:%global rubylang 1} %{!?javalang:%global javalang 1} -%ifarch %{arm} ppc64le +%ifarch %{arm} ppc64le ppc %{power64} s390 s390x %{!?golang:%global golang 0} %else %{!?golang:%global golang 1} @@ -24,7 +24,7 @@ Summary: Connects C/C++/Objective C to some high-level programming languages Name: swig Version: 3.0.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ and BSD URL: http://swig.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz @@ -109,11 +109,13 @@ done ; make %{?_smp_mflags} -## ppc64le passes most tests but fail some java ones; disable for now -%if %{with testsuite} && %{_arch} != ppc64le +%if %{with testsuite} +## ppc* passes most tests but fail some java ones; disable for now +%ifnarch ppc64le ppc %{power64} # Test suite make check %endif +%endif %install # Remove all arch dependent files in Examples/ created during tests @@ -171,6 +173,10 @@ install -p -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/ %doc Doc Examples LICENSE LICENSE-GPL LICENSE-UNIVERSITIES COPYRIGHT %changelog +* Tue Apr 22 2014 Karsten Hopp 3.0.0-3 +- golang is exclusivearch %{ix86} x86_64 %{arm}, don't BR it on ppc*, s390* +- unit tests fail on other ppc archs, too. disable for now + * Fri Mar 28 2014 Jitka Plesnikova - 3.0.0-1 - Small changes to enable ppc64le (BZ#1081724)