[apache-commons-pool] Add missing BuildRequires maven-local

mbooth mbooth at fedoraproject.org
Tue Feb 19 14:45:04 UTC 2013


commit f83022670585ca66d1957d5301ff139024d8aa7b
Author: Mat Booth <fedora at matbooth.co.uk>
Date:   Tue Feb 19 14:44:52 2013 +0000

    Add missing BuildRequires maven-local

 apache-commons-pool.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/apache-commons-pool.spec b/apache-commons-pool.spec
index 0920e13..4c97634 100644
--- a/apache-commons-pool.spec
+++ b/apache-commons-pool.spec
@@ -3,7 +3,7 @@
 
 Name:             apache-%{short_name}
 Version:          1.6
-Release:          4%{?dist}
+Release:          5%{?dist}
 Summary:          Apache Commons Pool Package
 Group:            Development/Libraries
 License:          ASL 2.0
@@ -13,7 +13,7 @@ BuildArch:        noarch
 
 BuildRequires:    java-devel >= 1:1.6.0
 BuildRequires:    jpackage-utils
-BuildRequires:    apache-commons-parent
+BuildRequires:    maven-local
 BuildRequires:    maven-surefire-provider-junit4
 
 Requires:         java >= 1:1.6.0
@@ -56,7 +56,7 @@ install -pm 644 target/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{na
 # pom
 install -d -m 755 %{buildroot}%{_mavenpomdir}
 install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "%{short_name}:%{short_name}"
+%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "org.apache.commons:%{short_name}"
 
 # javadoc
 install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
@@ -73,6 +73,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
 %{_javadocdir}/%{name}
 
 %changelog
+* Tue Feb 19 2013 Mat Booth <fedora at matbooth.co.uk> - 1.6-5
+- Add missing BuildRequires maven-local
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list