[ecj/f13/master] disable aot-compile-rpm on arm arches
Dennis Gilmore
ausil at fedoraproject.org
Sat May 7 05:09:34 UTC 2011
commit 530297994b35557cf879539d6659afb12b494f3d
Author: Dennis Gilmore <dennis at ausil.us>
Date: Sat May 7 00:06:44 2011 -0500
disable aot-compile-rpm on arm arches
ecj.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ecj.spec b/ecj.spec
index 92c113b..64e28ad 100644
--- a/ecj.spec
+++ b/ecj.spec
@@ -8,7 +8,7 @@ Epoch: 1
Summary: Eclipse Compiler for Java
Name: ecj
Version: 3.4.2
-Release: 7%{?dist}
+Release: 8%{?dist}
URL: http://www.eclipse.org
License: EPL
Group: Development/Languages
@@ -96,7 +96,9 @@ popd
install -p -D -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ecj
sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj
+%ifnarch %{arm}
aot-compile-rpm
+%endif
# poms
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
@@ -131,9 +133,14 @@ fi
%{_javadir}/%{name}*.jar
%{_javadir}/eclipse-%{name}*.jar
%{_javadir}/jdtcore.jar
+%ifnarch %{arm}
%{_libdir}/gcj/%{name}
+%endif
%changelog
+* Thu May 05 2011 Dennis Gilmore <dennis at ausil.us> - 1:3.4.2-8
+- disable the aot compile on arm arches
+
* Mon Dec 21 2009 Deepak Bhole <dbhole at redhat.com> - 1:3.4.2-7
- Fix RHBZ# 490936. If CLASSPATH is not set, add . to default classpath.
More information about the scm-commits
mailing list