[eclipse-xsd] Install source features

Mat Booth mbooth at fedoraproject.org
Wed Dec 10 16:12:19 UTC 2014


commit c30f836d6921f3d12c08afabbadf4bb21ee23489
Author: Mat Booth <mat.booth at redhat.com>
Date:   Wed Dec 10 16:12:25 2014 +0000

    Install source features

 eclipse-xsd.spec |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/eclipse-xsd.spec b/eclipse-xsd.spec
index ab33621..25fd892 100644
--- a/eclipse-xsd.spec
+++ b/eclipse-xsd.spec
@@ -1,10 +1,8 @@
-%global eclipse_dropin   %{_datadir}/eclipse/dropins
-
 %global git_tag R2_10_1
 
 Name:      eclipse-xsd
 Version:   2.10.1
-Release:   2%{?dist}
+Release:   3%{?dist}
 Summary:   XML Schema Definition (XSD) Eclipse plug-in
 License:   EPL
 URL:       http://www.eclipse.org/modeling/mdt/?project=xsd
@@ -18,7 +16,7 @@ Patch1:    0003-438418-Migrate-to-tycho-build.patch
 
 BuildArch:        noarch
 
-BuildRequires:    tycho
+BuildRequires:    tycho >= 0.22.0-6
 BuildRequires:    tycho-extras
 BuildRequires:    eclipse-pde >= 1:4.4.0
 BuildRequires:    eclipse-emf-sdk >= 2.10.0
@@ -67,7 +65,8 @@ find -name *.class -exec rm -rf {} \;
 %patch0 -p1
 %patch1 -p1
 
-%mvn_package "::jar:sources:" sdk
+%mvn_package ":::sources:" sdk
+%mvn_package ":::sources-feature:" sdk
 %mvn_package ":org.eclipse.xsd.sdk" sdk
 %mvn_package ":org.eclipse.xsd.doc" sdk
 %mvn_package ":org.eclipse.xsd.cheatsheets" sdk
@@ -88,6 +87,9 @@ find -name *.class -exec rm -rf {} \;
 %files examples -f .mfiles-examples	
 
 %changelog
+* Wed Dec 10 2014 Mat Booth <mat.booth at redhat.com> - 2.10.1-3
+- Install source features
+
 * Mon Dec 8 2014 Alexander Kurtakov <akurtako at redhat.com> 2.10.1-2
 - Build with xmvn.
 


More information about the scm-commits mailing list