rpms/eclipse-epic/F-8 eclipse-epic.spec,1.1,1.2

Mat Booth (mbooth) fedora-extras-commits at redhat.com
Thu May 1 20:38:24 UTC 2008


Author: mbooth

Update of /cvs/pkgs/rpms/eclipse-epic/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10916

Modified Files:
	eclipse-epic.spec 
Log Message:
* Thu May 01 2008 Mat Booth <fedora at matbooth.co.uk> 0.6.22-5
- Use long-style PDE build for F-8 branch.




Index: eclipse-epic.spec
===================================================================
RCS file: /cvs/pkgs/rpms/eclipse-epic/F-8/eclipse-epic.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- eclipse-epic.spec	30 Apr 2008 20:16:03 -0000	1.1
+++ eclipse-epic.spec	1 May 2008 20:37:48 -0000	1.2
@@ -3,7 +3,7 @@
 
 Name:      eclipse-epic
 Version:   0.6.22
-Release:   4%{?dist}
+Release:   5%{?dist}
 Summary:   Perl Eclipse plugin
 Group:     Development/Tools
 License:   CPL
@@ -98,9 +98,26 @@
 done
 popd
 
+# prepare pdebuild environment
+/bin/sh -x %{eclipse_base}/buildscripts/copy-platform SDK %{eclipse_base}
+mkdir home
+SDK=$(cd SDK > /dev/null && pwd)
+homedir=$(cd home > /dev/null && pwd)
+
 # build the main feature
-%{eclipse_base}/buildscripts/pdebuild -f org.epic.feature.main \
-  -a "-DjavacTarget=1.4 -DjavacSource=1.4"
+java -cp $SDK/startup.jar \
+  -Dosgi.sharedConfiguration.area=%{_libdir}/eclipse/configuration \
+  org.eclipse.core.launcher.Main \
+  -application org.eclipse.ant.core.antRunner \
+  -Dtype=feature \
+  -Did=org.epic.feature.main \
+  -DbaseLocation=$SDK \
+  -DsourceDirectory=$(pwd) \
+  -DbuildDirectory=$(pwd)/build \
+  -Dbuilder=%{eclipse_base}/plugins/org.eclipse.pde.build/templates/package-build \
+  -DjavacTarget=1.4 -DjavacSource=1.4 \
+  -f %{eclipse_base}/plugins/org.eclipse.pde.build/scripts/build.xml \
+  -vmargs -Duser.home=$homedir
 
 %install
 rm -rf %{buildroot}
@@ -152,6 +169,9 @@
 %endif
 
 %changelog
+* Thu May 01 2008 Mat Booth <fedora at matbooth.co.uk> 0.6.22-5
+- Use long-style PDE build for F-8 branch.
+
 * Tue Apr 29 2008 Mat Booth <fedora at matbooth.co.uk> 0.6.22-4
 - Added missing dependency.
 - Build the source plugin properly to support the "import as projects with




More information about the fedora-extras-commits mailing list