diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec index 8f12ce5..e7e0434 100644 --- a/apache-commons-logging.spec +++ b/apache-commons-logging.spec @@ -1,3 +1,5 @@ +%bcond_without bootstrap + Name: apache-commons-logging Version: 1.2 Release: 15%{?dist} @@ -13,12 +15,16 @@ Patch0: 0001-Generate-different-Bundle-SymbolicName-for-different.patch Patch1: 0002-Port-to-maven-jar-plugin-3.0.0.patch BuildRequires: maven-local +%if %{with bootstrap} +BuildRequires: javapackages-bootstrap +%else BuildRequires: mvn(javax.servlet:servlet-api) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.apache.maven.plugins:maven-failsafe-plugin) BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin) BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) +%endif %description The commons-logging package provides a simple, component oriented