Update to upstream version 3.7

This commit is contained in:
Michael Simacek 2017-11-09 16:54:07 +02:00
parent eaecd40a22
commit e52137ac88
3 changed files with 11 additions and 19 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/commons-lang3-3.4-src.tar.gz
/commons-lang3-3.5-src.tar.gz
/commons-lang3-3.6-src.tar.gz
/commons-lang3-3.7-src.tar.gz

View File

@ -1,8 +1,6 @@
%bcond_without jmh
Name: apache-commons-lang3
Version: 3.6
Release: 3%{?dist}
Version: 3.7
Release: 1%{?dist}
Summary: Provides a host of helper utilities for the java.lang API
License: ASL 2.0
URL: http://commons.apache.org/lang
@ -10,16 +8,8 @@ Source0: http://archive.apache.org/dist/commons/lang/source/commons-lang3
BuildArch: noarch
BuildRequires: maven-local
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)
BuildRequires: mvn(org.easymock:easymock)
BuildRequires: mvn(org.hamcrest:hamcrest-all)
%if %{with jmh}
BuildRequires: mvn(org.openjdk.jmh:jmh-core)
BuildRequires: mvn(org.openjdk.jmh:jmh-generator-annprocess)
%endif
%description
The standard Java libraries fail to provide enough methods for
@ -57,22 +47,23 @@ sed -i 's/\s*public void testParseSync().*/@org.junit.Ignore\n&/' \
rm src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
%build
%if %{without jmh}
# FIXME tests run against current system version of commons-lang3, not the one being built
%mvn_build -f
%else
%mvn_build
%endif
%install
%mvn_install
%files -f .mfiles
%doc LICENSE.txt RELEASE-NOTES.txt NOTICE.txt
%license LICENSE.txt NOTICE.txt
%doc RELEASE-NOTES.txt
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt NOTICE.txt
%license LICENSE.txt NOTICE.txt
%changelog
* Thu Nov 09 2017 Michael Simacek <msimacek@redhat.com> - 3.7-1
- Update to upstream version 3.7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (commons-lang3-3.6-src.tar.gz) = fb627605154c1b3d4561c27ad931bfcac43303ce98ffca8fca538ce6368506cdd2b80de7f22a93ca628e86804923940dd9909bb884c77ca196b654521febc60a
SHA512 (commons-lang3-3.7-src.tar.gz) = 12d7fb1694ec8fdc85f4c222e4218949d9a5c06cb6ad34763a7a32457b125551cac3ad3631ed299479b86e46a9e769095e96d6fd6799d8a522facc77b1ef02ef