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