[jbossws-parent] Use xmvn

Marek Goldmann goldmann at fedoraproject.org
Wed Jul 2 12:24:59 UTC 2014


commit 9b69742ed5046bfc4db0cc5e839e4bea783af5c7
Author: Marek Goldmann <marek.goldmann at gmail.com>
Date:   Wed Jul 2 14:25:05 2014 +0200

    Use xmvn

 jbossws-parent.spec |   32 +++++++-------------------------
 1 files changed, 7 insertions(+), 25 deletions(-)
---
diff --git a/jbossws-parent.spec b/jbossws-parent.spec
index f8aeefc..9a33903 100644
--- a/jbossws-parent.spec
+++ b/jbossws-parent.spec
@@ -3,7 +3,7 @@
 
 Name:             jbossws-parent
 Version:          1.1.0
-Release:          7%{?dist}
+Release:          8%{?dist}
 Summary:          JBossWS Parent
 Group:            Development/Libraries
 License:          LGPLv2+
@@ -12,20 +12,7 @@ Source0:          https://repository.jboss.org/nexus/service/local/repositories/
 
 BuildArch:        noarch
 
-BuildRequires:    jpackage-utils
 BuildRequires:    maven-local
-BuildRequires:    maven-compiler-plugin
-BuildRequires:    maven-install-plugin
-BuildRequires:    maven-jar-plugin
-BuildRequires:    maven-javadoc-plugin
-BuildRequires:    maven-enforcer-plugin
-BuildRequires:    maven-clean-plugin
-BuildRequires:    maven-eclipse-plugin
-BuildRequires:    maven-war-plugin
-BuildRequires:    maven-help-plugin
-BuildRequires:    maven-dependency-plugin
-
-Requires:         jpackage-utils
 
 %description
 This package contains the JBossWS Parent
@@ -34,22 +21,17 @@ This package contains the JBossWS Parent
 cp %{SOURCE0} pom.xml
 
 %build
-mvn-rpmbuild install javadoc:aggregate
+%mvn_build
 
 %install
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+%mvn_install
 
-# POM
-install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
-
-# DEPMAP
-%add_maven_depmap JPP-%{name}.pom
-
-%files
-%{_mavenpomdir}/*
-%{_mavendepmapfragdir}/*
+%files -f .mfiles
 
 %changelog
+* Wed Jul 02 2014 Marek Goldmann <mgoldman at redhat.com> - 1.1.0-8
+- Use xmvn
+
 * Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list