[apache-parent] Add missing R: maven-remote-resources-plugin, apache-resource-bundles

Mikolaj Izdebski mizdebsk at fedoraproject.org
Fri Nov 2 17:51:14 UTC 2012


commit c87aedb58afe8b1bd24ddbe230e95426e29bd335
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Fri Nov 2 18:38:23 2012 +0100

    Add missing R: maven-remote-resources-plugin, apache-resource-bundles
    
    - Add %check to verify dependencies during build

 apache-parent.spec |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/apache-parent.spec b/apache-parent.spec
index 79cdcbc..4deedd7 100644
--- a/apache-parent.spec
+++ b/apache-parent.spec
@@ -1,6 +1,6 @@
 Name:           apache-parent
 Version:        10
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Parent pom file for Apache projects
 Group:          Development/Libraries
 License:        ASL 2.0
@@ -8,8 +8,14 @@ URL:            http://apache.org/
 Source0:        http://svn.apache.org/repos/asf/maven/pom/tags/apache-10/pom.xml
 BuildArch:      noarch
 
+BuildRequires:  maven
 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.
@@ -34,11 +40,18 @@ install -pm 644 %{SOURCE0} \
 
 %add_maven_depmap JPP-%{name}.pom
 
+%check
+mvn-rpmbuild verify
+
 %files
 %{_mavenpomdir}/JPP-%{name}.pom
 %{_mavendepmapfragdir}/%{name}
 
 %changelog
+* Fri Nov  2 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 10-6
+- Add missing R: maven-remote-resources-plugin, apache-resource-bundles
+- Add %%check to verify dependencies during build
+
 * Thu Jul 26 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 10-5
 - Make sure we generate 1.5 version bytecode
 


More information about the scm-commits mailing list