besser82 pushed to swig (f20). "Small changes to enable ppc64le (BZ#1081724)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 3 20:33:54 UTC 2015


>From 48cf70663f7bcc303317bb59537b1c22728a9a6a Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Fri, 28 Mar 2014 11:00:41 +0100
Subject: Small changes to enable ppc64le (BZ#1081724)


diff --git a/swig.spec b/swig.spec
index 68c153e..93c3446 100644
--- a/swig.spec
+++ b/swig.spec
@@ -7,7 +7,7 @@
 %{!?rubylang:%global rubylang 1}
 %{!?javalang:%global javalang 1}
 
-%ifarch %{arm}
+%ifarch %{arm} ppc64le
 %{!?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: 1%{?dist}
+Release: 2%{?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,7 +109,8 @@ done
 ;
 make %{?_smp_mflags}
 
-%if %{with testsuite}
+## ppc64le passes most tests but fail some java ones; disable for now
+%if %{with testsuite} && %{_arch} != ppc64le
 # Test suite
 make check
 %endif
@@ -170,6 +171,9 @@ install -p -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1/
 %doc Doc Examples LICENSE LICENSE-GPL LICENSE-UNIVERSITIES COPYRIGHT
 
 %changelog
+* Fri Mar 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 3.0.0-1
+- Small changes to enable ppc64le (BZ#1081724)
+
 * Thu Mar 20 2014 Jitka Plesnikova <jplesnik at redhat.com> - 3.0.0-1
 - Update to 3.0.0
 - Update BRs to run tests for Java, Ruby, Lua, R, Go
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/swig.git/commit/?h=f20&id=48cf70663f7bcc303317bb59537b1c22728a9a6a


More information about the scm-commits mailing list