enable build of org/eclipse/jdt/internal/compiler/[apt,tool]

This commit is contained in:
gil 2013-10-09 14:39:46 +02:00 committed by Krzysztof Daniel
parent da0a083a81
commit fba6397901

View File

@ -8,7 +8,7 @@ Epoch: 1
Summary: Eclipse Compiler for Java Summary: Eclipse Compiler for Java
Name: ecj Name: ecj
Version: 4.2.1 Version: 4.2.1
Release: 8%{?dist} Release: 9%{?dist}
URL: http://www.eclipse.org URL: http://www.eclipse.org
License: EPL License: EPL
Group: Development/Languages Group: Development/Languages
@ -80,17 +80,18 @@ cat eclipse-gcj/gcc.properties >> \
org/eclipse/jdt/internal/compiler/batch/messages.properties org/eclipse/jdt/internal/compiler/batch/messages.properties
rm -rf eclipse-gcj rm -rf eclipse-gcj
# Remove bits of JDT Core we don't want to build
rm -r org/eclipse/jdt/internal/compiler/tool
rm -r org/eclipse/jdt/internal/compiler/apt
rm -f org/eclipse/jdt/core/BuildJarIndex.java
# JDTCompilerAdapter isn't used by the batch compiler # JDTCompilerAdapter isn't used by the batch compiler
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java
cp %{SOURCE4} ecj.1 cp %{SOURCE4} ecj.1
%build %build
%if %{with_gcjbootstrap} %if %{with_gcjbootstrap}
# Remove bits of JDT Core we don't want to build
# These classes are required by querydsl framework and its plugins
rm -r org/eclipse/jdt/internal/compiler/tool
rm -r org/eclipse/jdt/internal/compiler/apt
rm -f org/eclipse/jdt/core/BuildJarIndex.java
for f in `find -name '*.java' | cut -c 3- | LC_ALL=C sort`; do for f in `find -name '*.java' | cut -c 3- | LC_ALL=C sort`; do
gcj -Wno-deprecated -C $f gcj -Wno-deprecated -C $f
done done
@ -153,10 +154,15 @@ fi
%{_libdir}/gcj/%{name} %{_libdir}/gcj/%{name}
%changelog %changelog
* Wed Oct 09 2013 gil cattaneo <puntogil@libero.it> 1:4.2.1-9
- enable build of org/eclipse/jdt/internal/compiler/[apt,tool]
(ant build mode only), required by querydsl
- remove some rpmlint problems (invalid date)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.2.1-8 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.2.1-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed May 21 2013 Jon VanAlten <jon.vanalten@redhat.com> - 4.2.1-7 * Tue May 21 2013 Jon VanAlten <jon.vanalten@redhat.com> - 4.2.1-7
- Add manpage for ecj executable - Add manpage for ecj executable
- Resolves: rhbz#948442 - Resolves: rhbz#948442
@ -176,7 +182,7 @@ fi
* Wed Oct 10 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.1-2 * Wed Oct 10 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.1-2
- Add depmap satysfying Tycho req. - Add depmap satysfying Tycho req.
* Wed Jul 31 2012 Jon VanAlten <jon.vanalten@redhat.com> 1:4.2.1-1 * Sun Jul 29 2012 Jon VanAlten <jon.vanalten@redhat.com> 1:4.2.1-1
- Update to 4.2.1 upstream version. - Update to 4.2.1 upstream version.
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.4.2-14 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.4.2-14
@ -269,7 +275,7 @@ fi
* Mon Sep 27 2004 Gary Benson <gbenson@redhat.com> 2.1.3-5 * Mon Sep 27 2004 Gary Benson <gbenson@redhat.com> 2.1.3-5
- Rebuild with new katana. - Rebuild with new katana.
* Fri Jul 22 2004 Gary Benson <gbenson@redhat.com> 2.1.3-4 * Thu Jul 22 2004 Gary Benson <gbenson@redhat.com> 2.1.3-4
- Build without bootstrap-ant. - Build without bootstrap-ant.
- Split out lib-org-eclipse-jdt-internal-compiler.so. - Split out lib-org-eclipse-jdt-internal-compiler.so.