From 899cb7e873c03fb02db4b7022c066879a9bd6578 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 16 Apr 2021 15:33:13 +0200 Subject: [PATCH] Conditionalize buildrequires in bootstrap mode --- plexus-pom.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plexus-pom.spec b/plexus-pom.spec index a0507c0..b984ebb 100644 --- a/plexus-pom.spec +++ b/plexus-pom.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: plexus-pom Version: 7 Release: 1%{?dist} @@ -9,6 +11,9 @@ Source1: https://www.apache.org/licenses/LICENSE-2.0.txt BuildArch: noarch BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%endif # Test dependency that should be propagated down the POM hierarchy Requires: mvn(junit:junit)