Bug 1081724 - Trivial change to swig spec to enable ppc64le
Summary: Trivial change to swig spec to enable ppc64le
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: swig
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-03-27 19:54 UTC by Brent Baude
Modified: 2014-03-31 06:40 UTC (History)
1 user (show)

Fixed In Version: swig-3.0.0-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-31 06:40:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Brent Baude 2014-03-27 19:54:59 UTC
ppc64le needs a trivial change to the swig spec 3 or greater, like so:

[baude@ppc64le swig]$ git diff
diff --git a/swig.spec b/swig.spec
index 68c153e..a60580c 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}
@@ -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


Note You need to log in before you can comment on or make changes to this bug.