Update to upstream version 3.6
This commit is contained in:
parent
3ab163ce1f
commit
3885a2d836
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@
|
||||
/commons-lang3-3.3.2-src.tar.gz
|
||||
/commons-lang3-3.4-src.tar.gz
|
||||
/commons-lang3-3.5-src.tar.gz
|
||||
/commons-lang3-3.6-src.tar.gz
|
||||
|
@ -1,24 +1,21 @@
|
||||
%global base_name lang
|
||||
%global short_name commons-%{base_name}3
|
||||
|
||||
Name: apache-%{short_name}
|
||||
Version: 3.5
|
||||
Release: 3%{?dist}
|
||||
Name: apache-commons-lang3
|
||||
Version: 3.6
|
||||
Release: 1%{?dist}
|
||||
Summary: Provides a host of helper utilities for the java.lang API
|
||||
License: ASL 2.0
|
||||
URL: http://commons.apache.org/%{base_name}
|
||||
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
|
||||
URL: http://commons.apache.org/lang
|
||||
Source0: http://archive.apache.org/dist/commons/lang/source/commons-lang3-%{version}-src.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(commons-io:commons-io)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.bcel:bcel)
|
||||
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin)
|
||||
%if 0%{?rhel} <= 0
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.hamcrest:hamcrest-all)
|
||||
BuildRequires: mvn(org.easymock:easymock)
|
||||
%endif
|
||||
BuildRequires: mvn(org.hamcrest:hamcrest-all)
|
||||
BuildRequires: mvn(org.openjdk.jmh:jmh-core)
|
||||
BuildRequires: mvn(org.openjdk.jmh:jmh-generator-annprocess)
|
||||
|
||||
%description
|
||||
The standard Java libraries fail to provide enough methods for
|
||||
@ -44,9 +41,9 @@ Summary: API documentation for %{name}
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{short_name}-%{version}-src
|
||||
%setup -q -n commons-lang3-%{version}-src
|
||||
|
||||
%mvn_file : %{name} %{short_name}
|
||||
%mvn_file : %{name} commons-lang3
|
||||
|
||||
# testParseSync() test fails on ARM and PPC64LE for unknown reason
|
||||
sed -i 's/\s*public void testParseSync().*/@org.junit.Ignore\n&/' \
|
||||
@ -56,7 +53,7 @@ sed -i 's/\s*public void testParseSync().*/@org.junit.Ignore\n&/' \
|
||||
rm src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
|
||||
|
||||
%build
|
||||
%mvn_build %{?rhel:-f}
|
||||
%mvn_build
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
@ -68,6 +65,9 @@ rm src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
|
||||
%doc LICENSE.txt NOTICE.txt
|
||||
|
||||
%changelog
|
||||
* Mon Jul 03 2017 Michael Simacek <msimacek@redhat.com> - 3.6-1
|
||||
- Update to upstream version 3.6
|
||||
|
||||
* Tue Mar 14 2017 Michael Simacek <msimacek@redhat.com> - 3.5-3
|
||||
- Disable non-deterministic test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user