8e1ad2
Name:           apache-commons-lang3
8e1ad2
Version:        3.7
8e1ad2
Release:        3%{?dist}
8e1ad2
Summary:        Provides a host of helper utilities for the java.lang API
8e1ad2
License:        ASL 2.0
8e1ad2
URL:            http://commons.apache.org/lang
8e1ad2
BuildArch:      noarch
8e1ad2
8e1ad2
Source0:        http://archive.apache.org/dist/commons/lang/source/commons-lang3-%{version}-src.tar.gz
8e1ad2
8e1ad2
BuildRequires:  maven-local
8e1ad2
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
8e1ad2
BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
8e1ad2
8e1ad2
%description
8e1ad2
The standard Java libraries fail to provide enough methods for
8e1ad2
manipulation of its core classes. The Commons Lang Component provides
8e1ad2
these extra methods.
8e1ad2
The Commons Lang Component provides a host of helper utilities for the
8e1ad2
java.lang API, notably String manipulation methods, basic numerical
8e1ad2
methods, object reflection, creation and serialization, and System
8e1ad2
properties. Additionally it contains an inheritable enum type, an
8e1ad2
exception structure that supports multiple types of nested-Exceptions
8e1ad2
and a series of utilities dedicated to help with building methods, such
8e1ad2
as hashCode, toString and equals.
8e1ad2
8e1ad2
With version of commons-lang 3.x, developers decided to change API and
8e1ad2
therefore created differently named artifact and jar files. This is
8e1ad2
the new version, while apache-commons-lang is the compatibility
8e1ad2
package.
8e1ad2
8e1ad2
%{?javadoc_package}
8e1ad2
8e1ad2
%prep
8e1ad2
%autosetup -n commons-lang3-%{version}-src
8e1ad2
8e1ad2
%mvn_file : %{name} commons-lang3
8e1ad2
8e1ad2
# testParseSync() test fails on ARM and PPC64LE for unknown reason
8e1ad2
sed -i 's/\s*public void testParseSync().*/@org.junit.Ignore\n&/' \
8e1ad2
    src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
8e1ad2
8e1ad2
# non-deterministic tests fail randomly
8e1ad2
rm src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
8e1ad2
8e1ad2
%build
8e1ad2
# FIXME tests run against current system version of commons-lang3, not the one being built
8e1ad2
%mvn_build -f
8e1ad2
8e1ad2
%install
8e1ad2
%mvn_install
8e1ad2
8e1ad2
%files -f .mfiles
8e1ad2
%license LICENSE.txt NOTICE.txt
8e1ad2
%doc RELEASE-NOTES.txt
8e1ad2
8e1ad2
%changelog
8e1ad2
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7-3
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8e1ad2
8e1ad2
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.7-2
8e1ad2
- Cleanup spec file
8e1ad2
8e1ad2
* Thu Nov 09 2017 Michael Simacek <msimacek@redhat.com> - 3.7-1
8e1ad2
- Update to upstream version 3.7
8e1ad2
8e1ad2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8e1ad2
8e1ad2
* Mon Jul 10 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-2
8e1ad2
- Conditionalize BR on jmh
8e1ad2
8e1ad2
* Mon Jul 03 2017 Michael Simacek <msimacek@redhat.com> - 3.6-1
8e1ad2
- Update to upstream version 3.6
8e1ad2
8e1ad2
* Tue Mar 14 2017 Michael Simacek <msimacek@redhat.com> - 3.5-3
8e1ad2
- Disable non-deterministic test
8e1ad2
8e1ad2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8e1ad2
8e1ad2
* Wed Oct 19 2016 Michael Simacek <msimacek@redhat.com> - 3.5-1
8e1ad2
- Update to upstream version 3.5
8e1ad2
8e1ad2
* Wed Mar 09 2016 Michael Simacek <msimacek@redhat.com> - 3.4-5
8e1ad2
- Fix unapplied patch
8e1ad2
8e1ad2
* Mon Feb 15 2016 Michael Simacek <msimacek@redhat.com> - 3.4-4
8e1ad2
- Fix parsing of ISO dates with UTC TZ
8e1ad2
8e1ad2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-3
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8e1ad2
8e1ad2
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-2
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
8e1ad2
8e1ad2
* Tue May 12 2015 Alexander Kurtakov <akurtako@redhat.com> 3.4-1
8e1ad2
- Update to upstream 3.4.
8e1ad2
8e1ad2
* Wed Jul 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.2-3
8e1ad2
- Fix build-requires on apache-commons-parent
8e1ad2
8e1ad2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-2
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8e1ad2
8e1ad2
* Mon Apr 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.2-1
8e1ad2
- Update to upstream version 3.3.2
8e1ad2
8e1ad2
* Thu Mar 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-2
8e1ad2
- Disable test failing on PPC64LE
8e1ad2
8e1ad2
* Thu Mar 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-1
8e1ad2
- Update to upstream version 3.3.1
8e1ad2
8e1ad2
* Tue Mar 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-1
8e1ad2
- Update to upstream version 3.3
8e1ad2
8e1ad2
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.1-2
8e1ad2
- Use Requires: java-headless rebuild (#1067528)
8e1ad2
8e1ad2
* Thu Jan  9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-1
8e1ad2
- Update to upstream version 3.2.1
8e1ad2
8e1ad2
* Thu Jan  2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
8e1ad2
- Update to upstream version 3.2
8e1ad2
8e1ad2
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-7
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8e1ad2
8e1ad2
* Wed May 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-6
8e1ad2
- Build with xmvn
8e1ad2
- Update to current packaging guidelines
8e1ad2
8e1ad2
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-5
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8e1ad2
8e1ad2
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.1-4
8e1ad2
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
8e1ad2
- Replace maven BuildRequires with maven-local
8e1ad2
8e1ad2
* Mon Aug 27 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1-3
8e1ad2
- Make easymock3 dependency conditional for Fedora
8e1ad2
8e1ad2
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8e1ad2
8e1ad2
* Wed May 16 2012 gil cattaneo <puntogil@libero.it> - 3.1-1
8e1ad2
- update to 3.1
8e1ad2
8e1ad2
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
8e1ad2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8e1ad2
8e1ad2
* Thu Nov  3 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.1-1
8e1ad2
- Initial version of the package