diff --git a/apache-parent.spec b/apache-parent.spec index 8f78a81..4f55942 100644 --- a/apache-parent.spec +++ b/apache-parent.spec @@ -1,6 +1,6 @@ Name: apache-parent Version: 10 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Parent pom file for Apache projects Group: Development/Libraries License: ASL 2.0 @@ -14,10 +14,6 @@ BuildRequires: jpackage-utils BuildRequires: apache-resource-bundles BuildRequires: maven-remote-resources-plugin -Requires: jpackage-utils -Requires: apache-resource-bundles -Requires: maven-remote-resources-plugin - %description This package contains the parent pom file for apache projects. @@ -33,24 +29,18 @@ sed -i 's:1.4:1.5:' pom.xml cp %{SOURCE1} LICENSE %build - +%mvn_build %install -install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir} -install -pm 644 pom.xml \ - $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom - -%add_maven_depmap JPP-%{name}.pom +%mvn_install -%check -mvn-rpmbuild verify - -%files +%files -f .mfiles %doc LICENSE -%{_mavenpomdir}/JPP-%{name}.pom -%{_mavendepmapfragdir}/%{name} %changelog +* Mon Aug 26 2013 Michal Srb - 10-12 +- Migrate away from mvn-rpmbuild + * Sat Aug 03 2013 Fedora Release Engineering - 10-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild