Conditionalize buildrequires in bootstrap mode

This commit is contained in:
Mikolaj Izdebski 2021-04-16 15:33:12 +02:00
parent 189ebea54d
commit 8889b18fa4

View File

@ -1,3 +1,5 @@
%bcond_without bootstrap
Name: felix-parent
Version: 7
Release: 1%{?dist}
@ -8,7 +10,11 @@ Source0: https://repo1.maven.org/maven2/org/apache/felix/felix-parent/%{v
BuildArch: noarch
BuildRequires: maven-local
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(org.apache:apache:pom:)
%endif
%description
Parent POM file for Apache Felix Specs.