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