Conditionalize buildrequires in bootstrap mode

f38
Mikolaj Izdebski 4 years ago
parent c9ab220024
commit 899cb7e873

@ -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)

Loading…
Cancel
Save