From dda17baf999e12285428296f9ac104cf1ad32190 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 17 May 2021 09:04:05 +0200 Subject: [PATCH] Implement bootstrap mode --- jakarta-annotations.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jakarta-annotations.spec b/jakarta-annotations.spec index e903945..c14cf21 100644 --- a/jakarta-annotations.spec +++ b/jakarta-annotations.spec @@ -1,3 +1,5 @@ +%bcond_with bootstrap + Name: jakarta-annotations Version: 1.3.5 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 BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) BuildRequires: mvn(org.glassfish.build:spec-version-maven-plugin) +%endif %description Jakarta Annotations defines a collection of annotations representing