Bootstrap Maven as non-modular packages

Resolves: rhbz#1951482
This commit is contained in:
Mikolaj Izdebski 2021-06-08 20:17:56 +02:00
parent 12af2778aa
commit f85bcacea3

View File

@ -1,20 +1,30 @@
# Workaround for rhbz#1969370: __bootstrap macro is not defined in
# CentOS Stream, See https://bugzilla.redhat.com/1969370
%global __bootstrap ~bootstrap
%bcond_without bootstrap
Name: apache-commons-codec
Version: 1.15
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Implementations of common encoders and decoders
License: ASL 2.0
URL: http://commons.apache.org/codec/
URL: https://commons.apache.org/codec/
BuildArch: noarch
Source0: http://archive.apache.org/dist/commons/codec/source/commons-codec-%{version}-src.tar.gz
Source0: https://archive.apache.org/dist/commons/codec/source/commons-codec-%{version}-src.tar.gz
# Data in DoubleMetaphoneTest.java originally has an inadmissible license.
# The author gives MIT in e-mail communication.
Source1: aspell-mail.txt
BuildRequires: maven-local
BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.commons:commons-lang3)
BuildRequires: mvn(org.apache.commons:commons-parent:pom:)
%endif
%description
Commons Codec is an attempt to provide definitive implementations of
@ -45,12 +55,19 @@ export MAVEN_OPTS="-Xmx1024m"
%doc RELEASE-NOTES*
%changelog
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.15-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.15-4
- Bootstrap Maven for CentOS Stream 9
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.15-3
- Bootstrap build
- Non-bootstrap build
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Sep 11 2020 Marian Koncek <mkoncek@redhat.com> - 1.15-1
- Update to upstream version 1.15
* Fri Sep 04 2020 Mat Booth <mat.booth@redhat.com> - 1.15-1
- Update to latest upstream release
@ -63,12 +80,30 @@ export MAVEN_OPTS="-Xmx1024m"
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.14-2
- Build with OpenJDK 8
* Wed Jan 22 2020 Marian Koncek <mkoncek@redhat.com> - 1.14-1
- Update to upstream version 1.14
* Thu Dec 12 2019 Mat Booth <mat.booth@redhat.com> - 1.13-1
- Update to upstream version 1.13
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.13-2
- Mass rebuild for javapackages-tools 201902
* Mon Jul 29 2019 Marian Koncek <mkoncek@redhat.com> - 1.13-1
- Update to upstream version 1.13
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12-2
- Mass rebuild for javapackages-tools 201901
* Mon May 13 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.12-1
- Update to upstream version 1.12
* Thu Feb 07 2019 Mat Booth <mat.booth@redhat.com> - 1.11-6
- Rebuild to regenerate OSGi metadata