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