Implement bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-05-17 09:04:05 +02:00
parent 8d2da89252
commit dda17baf99

View File

@ -1,3 +1,5 @@
%bcond_with bootstrap
Name: jakarta-annotations Name: jakarta-annotations
Version: 1.3.5 Version: 1.3.5
Release: 7%{?dist} Release: 7%{?dist}
@ -9,9 +11,13 @@ BuildArch: noarch
Source0: https://github.com/eclipse-ee4j/common-annotations-api/archive/%{version}/common-annotations-api-%{version}.tar.gz Source0: https://github.com/eclipse-ee4j/common-annotations-api/archive/%{version}/common-annotations-api-%{version}.tar.gz
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.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin) BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin)
%endif
%description %description
Jakarta Annotations defines a collection of annotations representing Jakarta Annotations defines a collection of annotations representing