diff --git a/slf4j.spec b/slf4j.spec index f584c52..c5185dc 100644 --- a/slf4j.spec +++ b/slf4j.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + # Copyright (c) 2000-2009, JPackage Project # All rights reserved. # @@ -40,10 +42,14 @@ Source1: https://www.apache.org/licenses/LICENSE-2.0.txt BuildArch: noarch BuildRequires: maven-local-openjdk8 +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(commons-logging:commons-logging) BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) +%endif %description The Simple Logging Facade for Java or (SLF4J) is intended to serve