[swt-chart] Remove deprecated tycho.targetPlatform due to p2 support.

Roland Grunberg rgrunber at fedoraproject.org
Tue Aug 14 15:50:51 UTC 2012


commit 041659fb5cc44d259c047477b9a76e8b3a9e2db7
Author: Roland Grunberg <rgrunber at redhat.com>
Date:   Tue Aug 14 10:00:37 2012 -0400

    Remove deprecated tycho.targetPlatform due to p2 support.
    
    Fedora Tycho creates a local p2 repository for the target platform so
    there is no need to use the deprecated local target platform
    functionality.

 swt-chart.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/swt-chart.spec b/swt-chart.spec
index cf84336..c24ec25 100644
--- a/swt-chart.spec
+++ b/swt-chart.spec
@@ -1,6 +1,6 @@
 Name:           swt-chart
 Version:        0.8.0
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        SWTChart Feature
 
 Group:          Development/Tools
@@ -36,10 +36,10 @@ Requires:       jpackage-utils
 %prep
 %setup -q
 # Create the poms
-mvn-rpmbuild org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=org.swtchart -Dtycho.targetPlatform=%{_eclipse_base}
+mvn-rpmbuild org.eclipse.tycho:tycho-pomgenerator-plugin:generate-poms -DgroupId=org.swtchart
 
 %build
-mvn-rpmbuild -Dtycho.targetPlatform=%{_eclipse_base} install javadoc:aggregate
+mvn-rpmbuild install javadoc:aggregate
 
 %install
 install -d -m 755 %{buildroot}%{_javadir}
@@ -68,6 +68,9 @@ cp -rp target/site/apidocs %{buildroot}%{_javadocdir}/%{name}
 %doc %{_javadocdir}/%{name}
 
 %changelog
+* Tue Aug 14 2012 Roland Grunberg <rgrunber at redhat.com> 0.8.0-5
+- Remove deprecated tycho.targetPlatform due to p2 support.
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list