1355da
%bcond_with bootstrap
1355da
1355da
Name:           apache-commons-lang3
1355da
Version:        3.12.0
1355da
Release:        7%{?dist}
1355da
Summary:        Provides a host of helper utilities for the java.lang API
1355da
License:        ASL 2.0
1355da
URL:            https://commons.apache.org/lang
1355da
BuildArch:      noarch
1355da
ExclusiveArch:  %{java_arches} noarch
1355da
1355da
Source0:        https://archive.apache.org/dist/commons/lang/source/commons-lang3-%{version}-src.tar.gz
1355da
Patch1:         0001-Remove-test-dependency-on-JUnit-Pioneer.patch
1355da
1355da
%if %{with bootstrap}
1355da
BuildRequires:  javapackages-bootstrap-openjdk8
1355da
%else
1355da
BuildRequires:  maven-local-openjdk8
1355da
BuildRequires:  mvn(biz.aQute.bnd:biz.aQute.bndlib)
1355da
BuildRequires:  mvn(com.google.code.findbugs:jsr305)
1355da
BuildRequires:  mvn(org.apache.commons:commons-parent:pom:)
1355da
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
1355da
BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
1355da
BuildRequires:  mvn(org.easymock:easymock)
1355da
BuildRequires:  mvn(org.hamcrest:hamcrest)
1355da
BuildRequires:  mvn(org.junit.jupiter:junit-jupiter)
1355da
%endif
1355da
1355da
%description
1355da
The standard Java libraries fail to provide enough methods for
1355da
manipulation of its core classes. The Commons Lang Component provides
1355da
these extra methods.
1355da
The Commons Lang Component provides a host of helper utilities for the
1355da
java.lang API, notably String manipulation methods, basic numerical
1355da
methods, object reflection, creation and serialization, and System
1355da
properties. Additionally it contains an inheritable enum type, an
1355da
exception structure that supports multiple types of nested-Exceptions
1355da
and a series of utilities dedicated to help with building methods, such
1355da
as hashCode, toString and equals.
1355da
1355da
With version of commons-lang 3.x, developers decided to change API and
1355da
therefore created differently named artifact and jar files. This is
1355da
the new version, while apache-commons-lang is the compatibility
1355da
package.
1355da
1355da
%{?javadoc_package}
1355da
1355da
%prep
1355da
%setup -q -n commons-lang3-%{version}-src
1355da
1355da
%patch1 -p1
1355da
1355da
%pom_remove_plugin :maven-javadoc-plugin
1355da
%pom_remove_dep org.openjdk.jmh:jmh-core
1355da
%pom_remove_dep org.openjdk.jmh:jmh-generator-annprocess
1355da
%pom_remove_dep :junit-bom
1355da
1355da
%mvn_file : %{name} commons-lang3
1355da
1355da
# testParseSync() test fails on ARM and PPC64LE for unknown reason
1355da
sed -i 's/\s*public void testParseSync().*/@org.junit.jupiter.api.Disabled\n&/' \
1355da
    src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
1355da
1355da
# non-deterministic tests fail randomly
1355da
rm src/test/java/org/apache/commons/lang3/RandomStringUtilsTest.java
1355da
1355da
# Missing dependencies
1355da
rm src/test/java/org/apache/commons/lang3/HashSetvBitSetTest.java
1355da
1355da
# Remove limits and Java 11 options
1355da
sed -i '/<argLine>/d' pom.xml
1355da
1355da
%build
1355da
# See "-DcommonsLang3Version" in maven-surefire for the tested version
1355da
%mvn_build
1355da
1355da
%install
1355da
%mvn_install
1355da
1355da
%files -f .mfiles
1355da
%license LICENSE.txt NOTICE.txt
1355da
%doc RELEASE-NOTES.txt
1355da
1355da
%changelog
1355da
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-7
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1355da
1355da
* Wed Apr 27 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.12.0-6
1355da
- Workaround build issue with RPM 4.18
1355da
1355da
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.12.0-5
1355da
- Rebuilt for java-17-openjdk as system jdk
1355da
1355da
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-4
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
1355da
1355da
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-3
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
1355da
1355da
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.12.0-2
1355da
- Bootstrap build
1355da
- Non-bootstrap build
1355da
1355da
* Wed Mar 10 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.12.0-1
1355da
- Update to upstream version 3.12.0
1355da
1355da
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-2
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1355da
1355da
* Wed Aug 12 2020 Fabio Valentini <decathorpe@gmail.com> - 3.11-1
1355da
- Update to version 3.11.
1355da
- Fixes RHBZ#1699692
1355da
1355da
* Tue Aug 04 2020 Marian Koncek <mkoncek@redhat.com> - 3.11-1
1355da
- Update to upstream version 3.11
1355da
1355da
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-7
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1355da
1355da
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.8.1-6
1355da
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
1355da
1355da
* Wed Apr 15 2020 Marian Koncek <mkoncek@redhat.com> - 3.10-1
1355da
- Update to upstream version 3.10
1355da
1355da
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-5
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1355da
1355da
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.9-4
1355da
- Build with OpenJDK 8
1355da
1355da
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.9-3
1355da
- Mass rebuild for javapackages-tools 201902
1355da
1355da
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-4
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1355da
1355da
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.9-2
1355da
- Mass rebuild for javapackages-tools 201901
1355da
1355da
* Mon May 13 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.9-1
1355da
- Update to upstream version 3.9
1355da
1355da
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-3
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1355da
1355da
* Fri Oct 12 2018 Marian Koncek <mkoncek@redhat.com> - 3.8.1-2
1355da
- Fix incorrect OSGi metadata
1355da
- Resolves: rhbz#1636556
1355da
1355da
* Mon Oct 01 2018 Marian Koncek <mkoncek@redhat.com> - 3.8.1-1
1355da
- Update to upstream version 3.8.1
1355da
- Resolves: rhbz#1619243
1355da
1355da
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7-4
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1355da
1355da
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7-3
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1355da
1355da
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.7-2
1355da
- Cleanup spec file
1355da
1355da
* Thu Nov 09 2017 Michael Simacek <msimacek@redhat.com> - 3.7-1
1355da
- Update to upstream version 3.7
1355da
1355da
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1355da
1355da
* Mon Jul 10 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.6-2
1355da
- Conditionalize BR on jmh
1355da
1355da
* Mon Jul 03 2017 Michael Simacek <msimacek@redhat.com> - 3.6-1
1355da
- Update to upstream version 3.6
1355da
1355da
* Tue Mar 14 2017 Michael Simacek <msimacek@redhat.com> - 3.5-3
1355da
- Disable non-deterministic test
1355da
1355da
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1355da
1355da
* Wed Oct 19 2016 Michael Simacek <msimacek@redhat.com> - 3.5-1
1355da
- Update to upstream version 3.5
1355da
1355da
* Wed Mar 09 2016 Michael Simacek <msimacek@redhat.com> - 3.4-5
1355da
- Fix unapplied patch
1355da
1355da
* Mon Feb 15 2016 Michael Simacek <msimacek@redhat.com> - 3.4-4
1355da
- Fix parsing of ISO dates with UTC TZ
1355da
1355da
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-3
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1355da
1355da
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-2
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1355da
1355da
* Tue May 12 2015 Alexander Kurtakov <akurtako@redhat.com> 3.4-1
1355da
- Update to upstream 3.4.
1355da
1355da
* Wed Jul 30 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.2-3
1355da
- Fix build-requires on apache-commons-parent
1355da
1355da
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-2
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1355da
1355da
* Mon Apr 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.2-1
1355da
- Update to upstream version 3.3.2
1355da
1355da
* Thu Mar 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-2
1355da
- Disable test failing on PPC64LE
1355da
1355da
* Thu Mar 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.1-1
1355da
- Update to upstream version 3.3.1
1355da
1355da
* Tue Mar 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3-1
1355da
- Update to upstream version 3.3
1355da
1355da
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.2.1-2
1355da
- Use Requires: java-headless rebuild (#1067528)
1355da
1355da
* Thu Jan  9 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.1-1
1355da
- Update to upstream version 3.2.1
1355da
1355da
* Thu Jan  2 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2-1
1355da
- Update to upstream version 3.2
1355da
1355da
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-7
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1355da
1355da
* Wed May 29 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-6
1355da
- Build with xmvn
1355da
- Update to current packaging guidelines
1355da
1355da
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-5
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1355da
1355da
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 3.1-4
1355da
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
1355da
- Replace maven BuildRequires with maven-local
1355da
1355da
* Mon Aug 27 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1-3
1355da
- Make easymock3 dependency conditional for Fedora
1355da
1355da
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-2
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1355da
1355da
* Wed May 16 2012 gil cattaneo <puntogil@libero.it> - 3.1-1
1355da
- update to 3.1
1355da
1355da
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
1355da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1355da
1355da
* Thu Nov  3 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.0.1-1
1355da
- Initial version of the package