[plexus-root-pom] Build with xmvn
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Tue Jan 8 18:14:52 UTC 2013
commit 22c091719de66faa98946a26e2e3ac4fd06395a7
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Tue Jan 8 19:10:47 2013 +0100
Build with xmvn
plexus-root-pom.spec | 25 +++++++++----------------
1 files changed, 9 insertions(+), 16 deletions(-)
---
diff --git a/plexus-root-pom.spec b/plexus-root-pom.spec
index 876f972..9411bf6 100644
--- a/plexus-root-pom.spec
+++ b/plexus-root-pom.spec
@@ -1,6 +1,6 @@
Name: plexus-root-pom
Version: 1.0.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Plexus Root POM
BuildArch: noarch
Group: Development/Libraries
@@ -10,9 +10,7 @@ Source0: http://repo1.maven.org/maven2/plexus/plexus-root/%{version}/plexus-root
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
Patch0: fix-non-parsable-xml.patch
-BuildRequires: jpackage-utils
-BuildRequires: maven
-
+BuildRequires: xmvn
%description
This package provides Plexus Root parent POM used by different
@@ -27,24 +25,19 @@ cp -p %{SOURCE1} LICENSE
%pom_xpath_remove pom:modules
-%check
-mvn-rpmbuild verify
+%build
+%mvn_build
%install
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
-
-# POM file
-install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
+%mvn_install
-# depmap
-%add_maven_depmap 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.3-3
+- Build with xmvn
+
* Tue Dec 11 2012 Michal Srb <msrb at redhat.com> - 1.0.3-2
- Use namespace in in pom_xpath_remove macro
- Use direct link in Source0
More information about the scm-commits
mailing list