Bootstrap Maven as non-modular packages
Resolves: rhbz#1951482
This commit is contained in:
parent
fd49854ce9
commit
c6c252f500
20
jansi.spec
20
jansi.spec
@ -1,6 +1,12 @@
|
|||||||
|
# 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: jansi
|
Name: jansi
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Generate and interpret ANSI escape sequences in Java
|
Summary: Generate and interpret ANSI escape sequences in Java
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -11,11 +17,15 @@ Patch0: %{name}-jni.patch
|
|||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
|
%if %{with bootstrap}
|
||||||
|
BuildRequires: javapackages-bootstrap
|
||||||
|
%else
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.surefire:surefire-junit-platform)
|
BuildRequires: mvn(org.apache.maven.surefire:surefire-junit-platform)
|
||||||
BuildRequires: mvn(org.fusesource:fusesource-pom:pom:)
|
BuildRequires: mvn(org.fusesource:fusesource-pom:pom:)
|
||||||
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine)
|
BuildRequires: mvn(org.junit.jupiter:junit-jupiter-engine)
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Jansi is a small java library that allows you to use ANSI escape sequences
|
Jansi is a small java library that allows you to use ANSI escape sequences
|
||||||
@ -92,8 +102,12 @@ cp -p src/main/native/libjansi.so %{buildroot}%{_libdir}/%{name}
|
|||||||
%license license.txt
|
%license license.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.1.1-4
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.1-5
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Bootstrap Maven for CentOS Stream 9
|
||||||
|
|
||||||
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1.1-4
|
||||||
|
- Bootstrap build
|
||||||
|
- Non-bootstrap build
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user