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