Small changes to enable ppc64le (BZ#1081724)

This commit is contained in:
Jitka Plesnikova 2014-03-28 11:00:41 +01:00
parent 058574832b
commit 48cf70663f

View File

@ -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@redhat.com> - 3.0.0-1
- Small changes to enable ppc64le (BZ#1081724)
* Thu Mar 20 2014 Jitka Plesnikova <jplesnik@redhat.com> - 3.0.0-1
- Update to 3.0.0
- Update BRs to run tests for Java, Ruby, Lua, R, Go