Add missing maven-local BuildRequires

This commit is contained in:
Mat Booth 2013-02-19 13:43:26 +00:00
parent ee456061b2
commit 7dd7a6a69a

View File

@ -3,7 +3,7 @@
Name: apache-%{short_name}
Version: 1.2
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Command Line Interface Library for Java
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
Requires: java >= 1:1.6.0
Requires: jpackage-utils
@ -51,7 +51,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}
@ -69,6 +69,9 @@ cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/
%changelog
* Tue Feb 19 2013 Mat Booth <fedora@matbooth.co.uk> - 1.2-9
- Add missing maven-local BuildRequires
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild