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