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