[plexus-components-pom] Build with xmvn

Mikolaj Izdebski mizdebsk at fedoraproject.org
Fri Dec 7 14:33:53 UTC 2012


commit c992e95709addfefb09360178c7becdd985ce30f
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Fri Dec 7 15:33:31 2012 +0100

    Build with xmvn

 plexus-components-pom.spec |   23 +++++++++--------------
 1 files changed, 9 insertions(+), 14 deletions(-)
---
diff --git a/plexus-components-pom.spec b/plexus-components-pom.spec
index f59086c..fe2eb72 100644
--- a/plexus-components-pom.spec
+++ b/plexus-components-pom.spec
@@ -2,7 +2,7 @@
 
 Name:           %{short_name}-pom
 Version:        1.2
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Plexus Components POM
 BuildArch:      noarch
 Group:          Development/Libraries
@@ -11,13 +11,9 @@ URL:            http://plexus.codehaus.org/%{short_name}
 Source0:        http://repo.maven.apache.org/maven2/org/codehaus/plexus/%{short_name}/%{version}/%{short_name}-%{version}.pom
 Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
 
-BuildRequires:  jpackage-utils
-BuildRequires:  maven
+BuildRequires:  xmvn
 BuildRequires:  plexus-pom
 
-Requires:       jpackage-utils
-Requires:       plexus-pom
-
 %description
 This package provides Plexus Components parent POM used by different
 Plexus packages.
@@ -26,20 +22,19 @@ Plexus packages.
 cp -p %{SOURCE0} pom.xml
 cp -p %{SOURCE1} LICENSE
 
-%check
-mvn-rpmbuild verify
+%build
+%mvn_build
 
 %install
-install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom
+%mvn_install
 
-%files
+%files -f .mfiles
 %doc LICENSE
-%{_mavenpomdir}/JPP-%{name}.pom
-%{_mavendepmapfragdir}/%{name}
 
 %changelog
+* Fri Dec  7 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.2-4
+- Build with xmvn
+
 * Tue Nov 13 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 1.2-3
 - Add missing BR/R: plexus-pom
 


More information about the scm-commits mailing list