[tuscany-parent] switch to xmvn

gil gil at fedoraproject.org
Tue Jun 10 02:02:31 UTC 2014


commit feec5a0424edc10291aebdc98625a76c3983fa33
Author: gil <puntogil at libero.it>
Date:   Tue Jun 10 04:02:19 2014 +0200

    switch to xmvn

 tuscany-parent.spec |   18 ++++--------------
 1 files changed, 4 insertions(+), 14 deletions(-)
---
diff --git a/tuscany-parent.spec b/tuscany-parent.spec
index 146b79c..041d586 100644
--- a/tuscany-parent.spec
+++ b/tuscany-parent.spec
@@ -2,7 +2,6 @@ Name:          tuscany-parent
 Version:       2
 Release:       9%{?dist}
 Summary:       Apache Tuscany Project Parent
-Group:         Development/Libraries
 License:       ASL 2.0
 Url:           http://tuscany.apache.org/
 # svn export http://svn.apache.org/repos/asf/tuscany/tags/java/pom/parent/2 tuscany-parent-2
@@ -19,12 +18,8 @@ BuildRequires: maven-install-plugin
 
 # required by remote-resources-plugin
 BuildRequires: mvn(org.apache.maven.shared:maven-artifact-resolver)
-BuildRequires: mvn(org.apache.maven.shared:maven-shared-components)
+BuildRequires: mvn(org.apache.maven.shared:maven-shared-components:pom:)
 
-Requires:      maven-checkstyle-plugin
-Requires:      maven-compiler-plugin
-
-Requires:      jpackage-utils
 BuildArch:     noarch
 
 %description
@@ -40,17 +35,12 @@ sed -i 's/\r//' LICENSE-2.0.txt
 
 %build
 
-mvn-rpmbuild install
+%mvn_build
 
 %install
+%mvn_install
 
-mkdir -p %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom
-
-%files
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
+%files -f .mfiles
 %doc LICENSE-2.0.txt
 
 %changelog


More information about the scm-commits mailing list