rpms/eclipse/devel eclipse.spec,1.164,1.165

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jul 5 18:58:33 UTC 2005


Author: overholt

Update of /cvs/dist/rpms/eclipse/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31549

Modified Files:
	eclipse.spec 
Log Message:
* Tue Jul 05 2005 Andrew Overholt <overholt at redhat.com> 3.1.0_fc-5
- Revert ecj_bootstrap patch since it won't work.
- Keep mozilla requirement off ppc64.
- Add ant-apache-bsf requirement since we have that in FC5.



Index: eclipse.spec
===================================================================
RCS file: /cvs/dist/rpms/eclipse/devel/eclipse.spec,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -r1.164 -r1.165
--- eclipse.spec	5 Jul 2005 16:18:34 -0000	1.164
+++ eclipse.spec	5 Jul 2005 18:58:30 -0000	1.165
@@ -1,11 +1,5 @@
 Epoch:	1
 
-%ifarch %{ix86} x86_64 ppc
-%define ecj_bootstrap	0
-%else
-%define ecj_bootstrap	1
-%endif
-
 %define gcj_support 	1
 %define tomcatsharedir 	%{_datadir}/tomcat5
 %define tomcatlibdir 	%{_var}/lib/tomcat5
@@ -30,7 +24,7 @@
 Summary:        %{pkg_summary}
 Name:           eclipse
 Version:        %{eclipse_majmin}.%{eclipse_micro}_fc
-Release:        4
+Release:        5
 License:        EPL
 Group:          Text Editors/Integrated Development Environments (IDE)
 URL:            http://www.eclipse.org/
@@ -104,9 +98,7 @@
 Patch35:	%{name}-javadoc.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-%if !%{ecj_bootstrap}
 BuildRequires:  ant
-%endif
 BuildRequires:  perl
 BuildRequires:  jpackage-utils >= 0:1.5, make, gcc
 BuildRequires:  gnome-vfs2-devel
@@ -117,21 +109,18 @@
 BuildRequires:  mozilla >= 37:1.7.8
 BuildRequires:  mozilla-devel >= 37:1.7.8
 BuildRequires:  mozilla-nspr-devel >= 37:1.7.8
-%endif
 BuildRequires:  xorg-x11-devel
+%endif
 %if %{gcj_support}
 BuildRequires:	gcc-java >= 4.0.0-9
-%if !%{ecj_bootstrap}
 BuildRequires:	java-1.4.2-gcj-compat-devel >= 1.4.2.0-40jpp_24rh
-%endif
 BuildRequires:  dos2unix
 %else
 BuildRequires:	java-devel >= 1.4.2
 %endif
 
-%if !%{ecj_bootstrap}
-BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
-#BuildRequires: ant-apache-bsf ant-commons-net
+BuildRequires: ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
+#BuildRequires: ant-commons-net
 BuildRequires: ant-javamail ant-jdepend ant-jmf ant-junit ant-nodeps ant-swing ant-trax ant-jsch
 BuildRequires: jsch >= 0:0.1.18-1jpp
 BuildRequires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-el jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-logging jakarta-commons-modeler jakarta-commons-pool
@@ -140,7 +129,6 @@
 BuildRequires: lucene lucene-demo
 BuildRequires: regexp 
 BuildRequires: junit >= 3.8.1-3jpp
-%endif
 %if %{gcj_support}
 Requires(post,postun): java-1.4.2-gcj-compat
 %endif
@@ -166,7 +154,6 @@
 %description    ecj
 Eclipse compiler for Java.
 
-%if !%{ecj_bootstrap}
 %package        platform
 Summary:        Eclipse platform common files
 Group:          Text Editors/Integrated Development Environments (IDE)
@@ -190,8 +177,8 @@
 
 PreReq:         gtk2 >= 2.6
 
-Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
-#Requires: ant-apache-bsf ant-commons-net
+Requires: ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging
+#Requires: ant-commons-net
 Requires: ant-javamail ant-jdepend ant-jmf ant-junit ant-nodeps ant-swing ant-trax ant-jsch
 Requires: jsch >= 0:0.1.18-1jpp
 Requires: jakarta-commons-beanutils jakarta-commons-collections jakarta-commons-digester jakarta-commons-dbcp jakarta-commons-el jakarta-commons-fileupload jakarta-commons-launcher jakarta-commons-logging jakarta-commons-modeler jakarta-commons-pool
@@ -290,7 +277,6 @@
 
 %description    rcp-devel
 Source for RCP for use within Eclipse.
-%endif
 
 %prep
 %setup -q -c
@@ -383,7 +369,7 @@
 ## BEGIN ANT ##
 ln -sf %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant/lib/ant-antlr.jar
 ln -sf %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant/lib/ant-apache-bcel.jar
-#ln -sf %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant/lib/ant-apache-bsf.jar
+ln -sf %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant/lib/ant-apache-bsf.jar
 ln -sf %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant/lib/ant-apache-log4j.jar
 ln -sf %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant/lib/ant-apache-oro.jar
 ln -sf %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant/lib/ant-apache-regexp.jar
@@ -401,8 +387,7 @@
 ln -sf %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant/lib/ant-nodeps.jar
 ln -sf %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant/lib/ant-swing.jar
 ln -sf %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant/lib/ant-trax.jar
-# We don't have these in FC4
-rm -f plugins/org.apache.ant/lib/ant-apache-bsf.jar
+# We don't have this in FC5
 rm -f plugins/org.apache.ant/lib/ant-commons-net.jar
 # We used to ship these pre-built, but we're not going to do that anymore.  If
 # we can build them using free stuff, we will. -- overholt, 2005-07-04
@@ -514,14 +499,6 @@
   export CLASSPATH=ecj-bootstrap.jar:$ORIGCLASSPATH
   #export GCJ_PROPERTIES="gnu.gcj.precompiled.db.path=`pwd`/ecj-bootstrap.db"
 %endif
-%if %{ecj_bootstrap}
-  gcj -O1 -fPIC -fjni -findirect-dispatch -shared -Wl,-Bsymbolic \
-    -o ecj-bootstrap.jar.so ecj-bootstrap.jar
-  gcj -g --main=org.eclipse.jdt.internal.compiler.batch.Main \
-    -Wl,-R,%{_libdir}/%{name} ecj-bootstrap.jar.so -o ecj
-%endif
-
-%if !%{ecj_bootstrap}
 ant -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
 
 %if %{gcj_support}
@@ -658,21 +635,10 @@
 #find $src_root -type d -a \( -name org.eclipse.swt -prune -o -name org -print0 \) | xargs -l -0 ./copyallsrc
 #./copyallsrc $src_root/org.eclipse.swt/Eclipse\ SWT/gtk/org
 #popd
-%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%if %{ecj_bootstrap}
-install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
-install -d -m 755 $RPM_BUILD_ROOT%{_libdir}
-install -d -m 755 $RPM_BUILD_ROOT%{_libdir}/%{name}
-install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
-install -m 644 ecj-bootstrap.jar $RPM_BUILD_ROOT%{_javadir}/eclipse-ecj.jar
-install -m 644 ecj-bootstrap.jar.so $RPM_BUILD_ROOT%{_libdir}/%{name}/eclipse-ecj.jar.so
-install -m 644 ecj $RPM_BUILD_ROOT%{_bindir}
-
-%else
 install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 tar -C $RPM_BUILD_ROOT%{_datadir} -zxf \
@@ -856,7 +822,7 @@
 ## BEGIN ANT ##
 ln -sf %{_javadir}/ant/ant-antlr.jar plugins/org.apache.ant_*/lib/ant-antlr.jar
 ln -sf %{_javadir}/ant/ant-apache-bcel.jar plugins/org.apache.ant_*/lib/ant-apache-bcel.jar
-#ln -sf %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_*/lib/ant-apache-bsf.jar
+ln -sf %{_javadir}/ant/ant-apache-bsf.jar plugins/org.apache.ant_*/lib/ant-apache-bsf.jar
 ln -sf %{_javadir}/ant/ant-apache-log4j.jar plugins/org.apache.ant_*/lib/ant-apache-log4j.jar
 ln -sf %{_javadir}/ant/ant-apache-oro.jar plugins/org.apache.ant_*/lib/ant-apache-oro.jar
 ln -sf %{_javadir}/ant/ant-apache-regexp.jar plugins/org.apache.ant_*/lib/ant-apache-regexp.jar
@@ -874,8 +840,7 @@
 ln -sf %{_javadir}/ant/ant-nodeps.jar plugins/org.apache.ant_*/lib/ant-nodeps.jar
 ln -sf %{_javadir}/ant/ant-swing.jar plugins/org.apache.ant_*/lib/ant-swing.jar
 ln -sf %{_javadir}/ant/ant-trax.jar plugins/org.apache.ant_*/lib/ant-trax.jar
-# We don't have these in FC4
-rm -f plugins/org.apache.ant_*/lib/ant-apache-bsf.jar
+# We don't have this in FC5
 rm -f plugins/org.apache.ant_*/lib/ant-commons-net.jar
 # We used to ship these pre-built, but we're not going to do that anymore.  If
 # we can build them using free stuff, we will. -- overholt, 2005-07-04
@@ -1016,18 +981,10 @@
     done;
 done
 %endif
-%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%if %{ecj_bootstrap}
-%files ecj
-%{_datadir}/java/eclipse-ecj.jar
-%{_libdir}/%{name}/eclipse-ecj.jar.so
-%{_bindir}/ecj
-
-%else
 %if %{gcj_support}
 %post ecj
 %{_bindir}/rebuild-gcj-db %{_libdir}
@@ -1265,9 +1222,13 @@
 %{_datadir}/%{name}/plugins/org.eclipse.platform.source_3.*
 %{_datadir}/%{name}/features/org.eclipse.platform.source_3.*
 %{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*_3.1.0
-%endif
 
 %changelog
+* Tue Jul 05 2005 Andrew Overholt <overholt at redhat.com> 3.1.0_fc-5
+- Revert ecj_bootstrap patch since it won't work.
+- Keep mozilla requirement off ppc64.
+- Add ant-apache-bsf requirement since we have that in FC5.
+
 * Tue Jul 05 2005 Andrew Overholt <overholt at redhat.com> 3.1.0_fc-4
 - Add ecj_bootstrap patch from Gary Benson to bootstrap new architectures.
 - Remove ExclusiveArch.




More information about the fedora-cvs-commits mailing list