From 26e7f679d35f1d978e5819162f54786e6b538b35 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 16 Apr 2021 15:33:12 +0200 Subject: [PATCH] Conditionalize buildrequires in bootstrap mode --- atinject.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/atinject.spec b/atinject.spec index efdb9d2..f47b20c 100644 --- a/atinject.spec +++ b/atinject.spec @@ -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