diff --git a/mojo-parent.spec b/mojo-parent.spec index fd60e65..a61428f 100644 --- a/mojo-parent.spec +++ b/mojo-parent.spec @@ -1,6 +1,6 @@ Name: mojo-parent Version: 30 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Codehaus MOJO parent project pom file Group: Development/Libraries @@ -11,14 +11,9 @@ BuildArch: noarch BuildRequires: jpackage-utils BuildRequires: codehaus-parent -BuildRequires: maven +BuildRequires: xmvn BuildRequires: maven-enforcer-plugin -Requires: plexus-containers-component-javadoc -Requires: maven-plugin-plugin -Requires: junit -Requires: codehaus-parent -Requires: jpackage-utils %description Codehaus MOJO parent project pom file @@ -29,21 +24,18 @@ Codehaus MOJO parent project pom file %pom_remove_plugin :cobertura-maven-plugin %build -mvn-rpmbuild install +%mvn_alias : org.codehaus.mojo:mojo +%mvn_build %install -# poms -install -d -m 755 %{buildroot}%{_mavenpomdir} -install -pm 644 pom.xml \ - %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom +%mvn_install -%add_maven_depmap JPP-%{name}.pom -a org.codehaus.mojo:mojo - -%files -%{_mavenpomdir}/* -%{_mavendepmapfragdir}/* +%files -f .mfiles %changelog +* Thu Jan 17 2013 Michal Srb - 30-4 +- Build with xmvn + * Fri Jan 4 2013 Mikolaj Izdebski - 30-3 - Disable maven-plugin-cobertura