[plexus-component-factories-pom] Build with xmvn

Mikolaj Izdebski mizdebsk at fedoraproject.org
Tue Jan 8 18:19:56 UTC 2013


commit 9467ace2cf971ad074c4f10f8c4dda31dadf964a
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Tue Jan 8 19:17:47 2013 +0100

    Build with xmvn

 plexus-component-factories-pom.spec |   25 ++++++++++---------------
 1 files changed, 10 insertions(+), 15 deletions(-)
---
diff --git a/plexus-component-factories-pom.spec b/plexus-component-factories-pom.spec
index e70663d..86ffd0f 100644
--- a/plexus-component-factories-pom.spec
+++ b/plexus-component-factories-pom.spec
@@ -2,7 +2,7 @@
 
 Name:		plexus-component-factories-pom
 Version:	1.0
-Release:	0.3.alpha11%{?dist}
+Release:	0.4.alpha11%{?dist}
 Summary:	Plexus Component Factories POM
 BuildArch:	noarch
 Group:		Development/Libraries
@@ -11,8 +11,7 @@ URL:		http://plexus.codehaus.org/
 Source0:	http://repo1.maven.org/maven2/org/codehaus/plexus/%{artifactId}/%{version}-alpha-11/%{artifactId}-%{version}-alpha-11.pom
 Source1:	http://www.apache.org/licenses/LICENSE-2.0.txt
 
-BuildRequires:	jpackage-utils
-BuildRequires:	maven
+BuildRequires:	xmvn
 
 
 %description
@@ -26,24 +25,20 @@ cp -p %{SOURCE1} LICENSE
 
 %pom_xpath_remove pom:modules
 
-%check
-mvn-rpmbuild verify
+%build
+%mvn_alias : plexus:
+%mvn_build
 
 %install
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
+%mvn_install
 
-# POM file
-install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
-
-# depmap
-%add_maven_depmap -a "plexus:%{artifactId}" JPP-%{name}.pom
-
-%files
+%files -f .mfiles
 %doc LICENSE
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
 
 %changelog
+* Tue Jan  8 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.0-0.4.alpha11
+- Build with xmvn
+
 * Thu Dec 13 2012 Michal Srb <msrb at redhat.com> - 1.0-0.3.alpha11
 - Fixed artifactId
 


More information about the scm-commits mailing list