update apache-commons-lang.spec.

This commit is contained in:
yeah_wang 2019-12-09 20:50:56 +08:00 committed by Gitee
parent 912c315bff
commit 021a72df12

View File

@ -3,22 +3,21 @@ Version: 2.6
Release: 23
Summary: Provides a host of helper utilities for the java.lang API
License: ASL 2.0
Group: Development/Libraries
URL: http://commons.apache.org/lang
Source0: http://archive.apache.org/dist/commons/lang/source/commons-lang-2.6-src.tar.gz
Patch0000: 0002-Fix-FastDateFormat-for-Java-7-behaviour.patch
Patch9000: remove-2-test-fix-compile-with-bep-java.patch
BuildArch: noarch
BuildRequires: maven-local apache-commons-parent maven-surefire-provider-junit
BuildArch: noarch
BuildRequires: maven-local apache-commons-parent maven-surefire-provider-junit
%description
The standard Java libraries fail to provide enough methods for manipulation of
The standard Java libraries fail to provide enough methods for manipulation of
its core classes. Apache Commons Lang provides these extra methods.
%package help
Summary: API documentation for apache-commons-lang
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
The help for apache-commons-lang to use.
@ -26,9 +25,12 @@ The help for apache-commons-lang to use.
%prep
%autosetup -n commons-lang-2.6-src -p1
sed -i 's/\r//' *.txt *.html
%pom_add_plugin org.apache.maven.plugins:maven-javadoc-plugin . "
<configuration><source>1.3</source></configuration>"
%mvn_file : apache-commons-lang commons-lang
%mvn_alias : org.apache.commons: lang:lang
%mvn_config buildSettings/compilerSource 1.3