2009-03-10 18:35:57 +00:00
|
|
|
Epoch: 1
|
|
|
|
|
2015-10-06 10:03:14 +00:00
|
|
|
%global qualifier R-4.5.1-201509040015
|
2009-03-10 18:35:57 +00:00
|
|
|
|
|
|
|
Summary: Eclipse Compiler for Java
|
|
|
|
Name: ecj
|
2015-10-06 10:03:14 +00:00
|
|
|
Version: 4.5.1
|
2016-02-03 19:29:56 +00:00
|
|
|
Release: 2%{?dist}
|
2009-03-10 18:35:57 +00:00
|
|
|
URL: http://www.eclipse.org
|
|
|
|
License: EPL
|
2015-03-30 14:36:18 +00:00
|
|
|
|
|
|
|
Source0: http://download.eclipse.org/eclipse/downloads/drops4/%{qualifier}/ecjsrc-%{version}.jar
|
2009-03-10 18:35:57 +00:00
|
|
|
Source1: ecj.sh.in
|
2015-03-30 14:36:18 +00:00
|
|
|
Source3: https://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/%{version}/ecj-%{version}.pom
|
2015-10-06 10:03:14 +00:00
|
|
|
# Extracted from https://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/%{qualifier}/ecj-%{version}.jar
|
|
|
|
Source4: MANIFEST.MF
|
2015-03-30 14:36:18 +00:00
|
|
|
|
2009-03-10 18:35:57 +00:00
|
|
|
# Always generate debug info when building RPMs (Andrew Haley)
|
|
|
|
Patch0: %{name}-rpmdebuginfo.patch
|
|
|
|
|
2014-04-14 17:22:04 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
2013-05-22 03:25:12 +00:00
|
|
|
BuildRequires: gzip
|
2009-03-10 18:35:57 +00:00
|
|
|
BuildRequires: ant
|
2015-03-30 14:36:18 +00:00
|
|
|
BuildRequires: javapackages-local
|
2009-03-10 18:35:57 +00:00
|
|
|
|
2014-04-14 17:22:04 +00:00
|
|
|
Obsoletes: %{name}-native < 1:4.2.1-10
|
|
|
|
|
2009-03-10 18:35:57 +00:00
|
|
|
%description
|
|
|
|
ECJ is the Java bytecode compiler of the Eclipse Platform. It is also known as
|
|
|
|
the JDT Core batch compiler.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c
|
|
|
|
%patch0 -p1
|
2014-07-03 07:13:41 +00:00
|
|
|
|
|
|
|
sed -i -e 's|debuglevel=\"lines,source\"|debug=\"yes\"|g' build.xml
|
|
|
|
sed -i -e "s/Xlint:none/Xlint:none -encoding cp1252/g" build.xml
|
2015-07-02 11:39:24 +00:00
|
|
|
sed -i -e 's|1.6|1.7|g' build.xml
|
|
|
|
sed -i -e 's|import org.eclipse.jdt.core.JavaCore;||g' org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java
|
|
|
|
sed -i -e 's|JavaCore.getOptions()||g' org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java
|
2009-03-10 18:35:57 +00:00
|
|
|
|
2009-09-09 08:25:06 +00:00
|
|
|
cp %{SOURCE3} pom.xml
|
2014-05-01 08:01:46 +00:00
|
|
|
mkdir -p scripts/binary/META-INF/
|
2015-03-30 14:36:18 +00:00
|
|
|
cp %{SOURCE4} scripts/binary/META-INF/MANIFEST.MF
|
2009-03-10 18:35:57 +00:00
|
|
|
|
|
|
|
# JDTCompilerAdapter isn't used by the batch compiler
|
|
|
|
rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java
|
2015-03-30 14:36:18 +00:00
|
|
|
|
|
|
|
# No dep on ant needed
|
|
|
|
%pom_remove_dep org.apache.ant:ant
|
|
|
|
|
|
|
|
# Symlinks and aliases
|
|
|
|
%mvn_file :ecj ecj eclipse-ecj jdtcore
|
|
|
|
%mvn_alias org.eclipse.jdt.core.compiler:ecj \
|
|
|
|
org.eclipse.jdt:org.eclipse.jdt.core org.eclipse.jdt:org.eclipse.jdt.compiler.apt \
|
|
|
|
org.eclipse.tycho:org.eclipse.jdt.core org.eclipse.tycho:org.eclipse.jdt.compiler.apt \
|
2015-10-06 10:03:14 +00:00
|
|
|
org.eclipse.jetty.orbit:org.eclipse.jdt.core org.eclipse.jetty.orbit:org.eclipse.jdt.compiler.apt \
|
2015-03-30 14:36:18 +00:00
|
|
|
org.eclipse.jdt:core
|
2009-03-10 18:35:57 +00:00
|
|
|
|
|
|
|
%build
|
2014-06-09 13:41:16 +00:00
|
|
|
ant
|
2013-05-22 03:25:12 +00:00
|
|
|
gzip ecj.1
|
2009-03-10 18:35:57 +00:00
|
|
|
|
|
|
|
%install
|
2015-03-30 14:36:18 +00:00
|
|
|
%mvn_artifact pom.xml ecj.jar
|
|
|
|
%mvn_install
|
2009-03-10 18:35:57 +00:00
|
|
|
|
|
|
|
# Install the ecj wrapper script
|
|
|
|
install -p -D -m0755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/ecj
|
|
|
|
|
2013-05-22 03:25:12 +00:00
|
|
|
# Install manpage
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
install -m 644 -p ecj.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/ecj.1.gz
|
|
|
|
|
2014-06-09 13:41:16 +00:00
|
|
|
%files -f .mfiles
|
2009-03-10 18:35:57 +00:00
|
|
|
%doc about.html
|
2015-03-30 14:36:18 +00:00
|
|
|
%{_bindir}/ecj
|
2013-05-22 03:25:12 +00:00
|
|
|
%{_mandir}/man1/ecj.1.gz
|
2012-04-17 14:36:40 +00:00
|
|
|
|
2009-03-10 18:35:57 +00:00
|
|
|
%changelog
|
2016-02-03 19:29:56 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.5.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-10-06 10:03:14 +00:00
|
|
|
* Tue Oct 06 2015 Mat Booth <mat.booth@redhat.com> - 1:4.5.1-1
|
|
|
|
- Update to Mars.1 release
|
|
|
|
|
2015-07-02 11:39:24 +00:00
|
|
|
* Thu Jul 2 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.5-1
|
|
|
|
- Update to upstream 4.5 release.
|
|
|
|
|
2015-06-17 05:03:44 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-03-30 14:36:18 +00:00
|
|
|
* Mon Mar 30 2015 Mat Booth <mat.booth@redhat.com> - 1:4.4.2-1
|
|
|
|
- Update to 4.4.2.
|
|
|
|
- Install with mvn_install
|
|
|
|
- Add jetty.orbit alias
|
|
|
|
- Add compiler.apt aliases
|
|
|
|
- Drop ancient obsoletes/provides on eclipse-ecj
|
|
|
|
- Use man page from upstream source
|
|
|
|
|
2015-01-08 11:14:13 +00:00
|
|
|
* Thu Jan 8 2015 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.1-1
|
|
|
|
- Update to 4.4.1.
|
|
|
|
|
2014-07-03 07:13:41 +00:00
|
|
|
* Thu Jul 3 2014 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.0-1
|
|
|
|
- Update to 4.4 final.
|
|
|
|
- Drop gcj patches as gcj is not in Fedora anymore and ecj now requires 1.6.
|
|
|
|
|
2014-06-12 13:24:44 +00:00
|
|
|
* Thu Jun 12 2014 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.0-0.4.git20140430
|
|
|
|
- Add additional depmap for maven.
|
|
|
|
|
2014-06-09 13:41:16 +00:00
|
|
|
* Mon Jun 9 2014 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.0-0.3.git20140430
|
|
|
|
- Fix FTBFS.
|
|
|
|
|
2014-06-07 09:25:06 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.4.0-0.2.git20140430
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-01 08:01:46 +00:00
|
|
|
* Thu May 1 2014 Alexander Kurtakov <akurtako@redhat.com> 1:4.4.0-0.1.git20140430
|
|
|
|
- Update to 4.4.0 I-build to make it cope with Java 8.
|
|
|
|
|
2014-04-14 17:22:04 +00:00
|
|
|
* Mon Apr 14 2014 Mat Booth <mat.booth@redhat.com> - 1:4.2.1-10
|
|
|
|
- Drop gcj AOT-compilation support.
|
|
|
|
- Obsolete -native sub-package.
|
|
|
|
|
2013-10-09 12:39:46 +00:00
|
|
|
* 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)
|
|
|
|
|
2013-08-03 09:01:25 +00:00
|
|
|
* 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
|
|
|
|
|
2013-10-09 12:39:46 +00:00
|
|
|
* Tue May 21 2013 Jon VanAlten <jon.vanalten@redhat.com> - 4.2.1-7
|
2013-05-22 03:25:12 +00:00
|
|
|
- Add manpage for ecj executable
|
|
|
|
- Resolves: rhbz#948442
|
|
|
|
|
2013-04-09 10:30:28 +00:00
|
|
|
* Tue Apr 9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.2.1-6
|
|
|
|
- Add depmap for org.eclipse.jdt.core.compiler:ecj
|
|
|
|
- Resolves: rhbz#949938
|
|
|
|
|
2013-03-06 22:45:48 +00:00
|
|
|
* Wed Mar 06 2013 Karsten Hopp <karsten@redhat.com> 1:4.2.1-5
|
|
|
|
- add BR java-devel for !with_gcjbootstrap
|
|
|
|
|
2013-02-13 20:31:29 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.2.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-20 01:08:38 +00:00
|
|
|
* Mon Oct 29 2012 Jon VanAlten <jon.vanalten@redhat.com> 1:4.2.1-3
|
|
|
|
- Patch GCCMain to avoid dummy symbols.
|
|
|
|
|
2012-10-10 07:59:06 +00:00
|
|
|
* Wed Oct 10 2012 Krzysztof Daniel <kdaniel@redhat.com> 1:4.2.1-2
|
|
|
|
- Add depmap satysfying Tycho req.
|
|
|
|
|
2013-10-09 12:39:46 +00:00
|
|
|
* Sun Jul 29 2012 Jon VanAlten <jon.vanalten@redhat.com> 1:4.2.1-1
|
2012-10-09 23:49:46 +00:00
|
|
|
- Update to 4.2.1 upstream version.
|
|
|
|
|
2012-07-18 22:25:17 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.4.2-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-04-18 15:02:26 +00:00
|
|
|
* Wed Apr 18 2012 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-13
|
|
|
|
- Add missing epoch to native subpackage requires.
|
|
|
|
|
2012-04-17 14:36:40 +00:00
|
|
|
* Tue Apr 17 2012 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-12
|
|
|
|
- Separate gcj in subpackage.
|
|
|
|
|
2012-01-16 10:20:05 +00:00
|
|
|
* Mon Jan 16 2012 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-11
|
|
|
|
- Patch pom file to better represent ecj and not jdt.core .
|
|
|
|
- Guidelines fixes.
|
|
|
|
|
2012-01-13 01:25:27 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.4.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 16:13:37 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.4.2-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-26 12:41:56 +00:00
|
|
|
* Fri Nov 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1:3.4.2-8
|
|
|
|
- Fix add_to_maven_depmap call (Resolves rhbz#655796)
|
|
|
|
|
2009-12-21 21:26:45 +00:00
|
|
|
* Mon Dec 21 2009 Deepak Bhole <dbhole@redhat.com> - 1:3.4.2-7
|
|
|
|
- Fix RHBZ# 490936. If CLASSPATH is not set, add . to default classpath.
|
|
|
|
|
2009-09-09 08:25:06 +00:00
|
|
|
* Wed Sep 9 2009 Alexander Kurtakov <akurtako@redhat.com> 1:3.4.2-6
|
|
|
|
- Add maven pom and depmaps.
|
|
|
|
|
2009-07-24 20:49:38 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.4.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-11 17:32:38 +00:00
|
|
|
* Wed Mar 11 2009 Deepak Bhole <dbhole@redhat.com> 1:3.4.2-4
|
|
|
|
- Add patch to generate full debuginfo for ecj itself
|
|
|
|
|
2009-03-10 19:13:24 +00:00
|
|
|
* Tue Mar 10 2009 Deepak Bhole <dbhole@redhat.com> 1:3.4.2-3
|
|
|
|
- Add BR for aot-compile-rpm
|
|
|
|
|
2009-03-10 18:50:59 +00:00
|
|
|
* Tue Mar 10 2009 Deepak Bhole <dbhole@redhat.com> 1:3.4.2-2
|
|
|
|
- Add BR for ant
|
|
|
|
|
2009-03-10 18:35:57 +00:00
|
|
|
* Fri Mar 6 2009 Andrew Overholt <overholt@redhat.com> 1:3.4.2-1
|
|
|
|
- 3.4.2
|
|
|
|
|
|
|
|
* Tue Dec 9 2008 Andrew Overholt <overholt@redhat.com> 1:3.4.1-1
|
|
|
|
- 3.4.1
|
|
|
|
- Don't conditionalize building of gcj AOT bits (we're only building
|
|
|
|
this for gcj and IcedTea bootstrapping).
|
|
|
|
|
|
|
|
* Mon Jan 22 2007 Andrew Overholt <overholt@redhat.com> 3.2.1-1
|
|
|
|
- Add eclipse-ecj-gcj.patch.
|
|
|
|
|
|
|
|
* Fri Jan 12 2007 Andrew Overholt <overholt@redhat.com> 3.2.1-1
|
|
|
|
- First version for Fedora 7.
|
|
|
|
- Add BR: java-devel for jar.
|
|
|
|
|
|
|
|
* Thu Nov 02 2006 Andrew Overholt <overholt@redhat.com> 1:3.2.1-1jpp
|
|
|
|
- First version for JPackage.
|
|
|
|
|
|
|
|
* Mon Jul 24 2006 Andrew Overholt <overholt@redhat.com> 1:3.2.0-1
|
|
|
|
- Add versionless ecj.jar symlink in /usr/share/java.
|
|
|
|
|
|
|
|
* Wed Jul 19 2006 Andrew Overholt <overholt@redhat.com> 1:3.2.0-1
|
|
|
|
- 3.2.0.
|
|
|
|
|
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Mar 07 2005 Andrew Overholt <overholt@redhat.com> 1:3.1.0.M4.9
|
|
|
|
- Don't build for ppc or ia64.
|
|
|
|
|
|
|
|
* Sun Feb 20 2005 Andrew Overholt <overholt@redhat.com> 1:3.1.0.M4.6
|
|
|
|
- Upgrade back to 3.1M4.
|
|
|
|
- Don't build for i386 and x86_64.
|
|
|
|
- Provide eclipse-ecj until we can deprecate this package.
|
|
|
|
|
|
|
|
* Fri Jan 14 2005 Andrew Overholt <overholt@redhat.com> 3.1.0.M4.4
|
|
|
|
- build for all but x86
|
|
|
|
|
|
|
|
* Thu Jan 13 2005 Andrew Overholt <overholt@redhat.com> 3.1.0.M4.3
|
|
|
|
- build for ppc exclusively
|
|
|
|
|
|
|
|
* Wed Jan 12 2005 Andrew Overholt <overholt@redhat.com> 3.1.0.M4.2
|
|
|
|
- Add RPM_OPT_FLAGS workaround.
|
|
|
|
|
|
|
|
* Tue Jan 11 2005 Andrew Overholt <overholt@redhat.com> 3.1.0.M4.1
|
|
|
|
- New version.
|
|
|
|
|
|
|
|
* Mon Sep 27 2004 Gary Benson <gbenson@redhat.com> 2.1.3-5
|
|
|
|
- Rebuild with new katana.
|
|
|
|
|
2013-10-09 12:39:46 +00:00
|
|
|
* Thu Jul 22 2004 Gary Benson <gbenson@redhat.com> 2.1.3-4
|
2009-03-10 18:35:57 +00:00
|
|
|
- Build without bootstrap-ant.
|
|
|
|
- Split out lib-org-eclipse-jdt-internal-compiler.so.
|
|
|
|
|
|
|
|
* Tue Jul 6 2004 Gary Benson <gbenson@redhat.com> 2.1.3-3
|
|
|
|
- Fix ecj-devel's dependencies.
|
|
|
|
|
|
|
|
* Wed Jun 9 2004 Gary Benson <gbenson@redhat.com> 2.1.3-2
|
|
|
|
- Work around an optimiser failure somewhere in ecj or gcj (#125613).
|
|
|
|
|
|
|
|
* Fri May 28 2004 Gary Benson <gbenson@redhat.com>
|
|
|
|
- Build with katana.
|
|
|
|
|
|
|
|
* Mon May 24 2004 Gary Benson <gbenson@redhat.com> 2.1.3-1
|
|
|
|
- Initial Red Hat Linux build.
|
|
|
|
|
|
|
|
* Mon May 24 2004 Gary Benson <gbenson@redhat.com>
|
|
|
|
- Upgraded to latest version.
|
|
|
|
|
|
|
|
* Sun Jul 20 2003 Anthony Green <green@redhat.com>
|
|
|
|
- Add %%doc
|
|
|
|
|
|
|
|
* Fri Jul 18 2003 Anthony Green <green@redhat.com>
|
|
|
|
- Initial RHUG build.
|