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