Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:12 +02:00
parent cc83df56e0
commit 26e7f679d3

View File

@ -1,3 +1,5 @@
%bcond_without bootstrap
Name: atinject
Version: 1.0.3
Release: 1%{?dist}
@ -9,7 +11,11 @@ BuildArch: noarch
Source0: https://github.com/eclipse-ee4j/injection-api/archive/%{version}.tar.gz
BuildRequires: maven-local
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
%endif
%description
This package specifies a means for obtaining objects in such a way as