Drop gcj AOT-compilation support and obsolete native sub-package.
This commit is contained in:
parent
fba6397901
commit
61e09fe05c
11
.project
Normal file
11
.project
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>ecj</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects>
|
||||||
|
</projects>
|
||||||
|
<buildSpec>
|
||||||
|
</buildSpec>
|
||||||
|
<natures>
|
||||||
|
</natures>
|
||||||
|
</projectDescription>
|
41
ecj.spec
41
ecj.spec
@ -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: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
URL: http://www.eclipse.org
|
URL: http://www.eclipse.org
|
||||||
License: EPL
|
License: EPL
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -33,9 +33,9 @@ Patch3: eclipse-gcj-compat4.2.1.patch
|
|||||||
Patch4: %{name}-include-props.patch
|
Patch4: %{name}-include-props.patch
|
||||||
Patch5: eclipse-gcj-nodummysymbol.patch
|
Patch5: eclipse-gcj-nodummysymbol.patch
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: gcc-java >= 4.0.0
|
BuildRequires: gcc-java >= 4.0.0
|
||||||
BuildRequires: /usr/bin/aot-compile-rpm
|
|
||||||
BuildRequires: java-gcj-compat
|
|
||||||
BuildRequires: gzip
|
BuildRequires: gzip
|
||||||
|
|
||||||
%if ! %{with_gcjbootstrap}
|
%if ! %{with_gcjbootstrap}
|
||||||
@ -46,22 +46,12 @@ BuildRequires: java-devel >= 1:1.7.0
|
|||||||
Provides: eclipse-ecj = %{epoch}:%{version}-%{release}
|
Provides: eclipse-ecj = %{epoch}:%{version}-%{release}
|
||||||
Obsoletes: eclipse-ecj < 1:3.4.2-4
|
Obsoletes: eclipse-ecj < 1:3.4.2-4
|
||||||
|
|
||||||
|
Obsoletes: %{name}-native < 1:4.2.1-10
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ECJ is the Java bytecode compiler of the Eclipse Platform. It is also known as
|
ECJ is the Java bytecode compiler of the Eclipse Platform. It is also known as
|
||||||
the JDT Core batch compiler.
|
the JDT Core batch compiler.
|
||||||
|
|
||||||
%package native
|
|
||||||
Summary: Native(gcj) bits for %{name}
|
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
||||||
Requires: libgcj >= 4.0.0
|
|
||||||
Requires(post): java-gcj-compat
|
|
||||||
Requires(postun): java-gcj-compat
|
|
||||||
|
|
||||||
%description native
|
|
||||||
AOT compiled ecj to speed up when running under GCJ.
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c
|
%setup -q -c
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -119,8 +109,6 @@ sed --in-place "s:@JAVADIR@:%{_javadir}:" $RPM_BUILD_ROOT%{_bindir}/ecj
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||||
install -m 644 -p ecj.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/ecj.1.gz
|
install -m 644 -p ecj.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/ecj.1.gz
|
||||||
|
|
||||||
aot-compile-rpm
|
|
||||||
|
|
||||||
# poms
|
# poms
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||||
install -pm 644 pom.xml \
|
install -pm 644 pom.xml \
|
||||||
@ -128,18 +116,6 @@ install -pm 644 pom.xml \
|
|||||||
|
|
||||||
%add_maven_depmap -a "org.eclipse.tycho:org.eclipse.jdt.core,org.eclipse.jdt.core.compiler:ecj" JPP-%{name}.pom %{name}.jar
|
%add_maven_depmap -a "org.eclipse.tycho:org.eclipse.jdt.core,org.eclipse.jdt.core.compiler:ecj" JPP-%{name}.pom %{name}.jar
|
||||||
|
|
||||||
%post native
|
|
||||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
|
||||||
then
|
|
||||||
%{_bindir}/rebuild-gcj-db
|
|
||||||
fi
|
|
||||||
|
|
||||||
%postun native
|
|
||||||
if [ -x %{_bindir}/rebuild-gcj-db ]
|
|
||||||
then
|
|
||||||
%{_bindir}/rebuild-gcj-db
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc about.html
|
%doc about.html
|
||||||
%{_mavenpomdir}/JPP-%{name}.pom
|
%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
@ -150,10 +126,11 @@ fi
|
|||||||
%{_javadir}/jdtcore.jar
|
%{_javadir}/jdtcore.jar
|
||||||
%{_mandir}/man1/ecj.1.gz
|
%{_mandir}/man1/ecj.1.gz
|
||||||
|
|
||||||
%files native
|
|
||||||
%{_libdir}/gcj/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 14 2014 Mat Booth <mat.booth@redhat.com> - 1:4.2.1-10
|
||||||
|
- Drop gcj AOT-compilation support.
|
||||||
|
- Obsolete -native sub-package.
|
||||||
|
|
||||||
* Wed Oct 09 2013 gil cattaneo <puntogil@libero.it> 1:4.2.1-9
|
* Wed Oct 09 2013 gil cattaneo <puntogil@libero.it> 1:4.2.1-9
|
||||||
- enable build of org/eclipse/jdt/internal/compiler/[apt,tool]
|
- enable build of org/eclipse/jdt/internal/compiler/[apt,tool]
|
||||||
(ant build mode only), required by querydsl
|
(ant build mode only), required by querydsl
|
||||||
|
Loading…
Reference in New Issue
Block a user