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