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