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