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