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