Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
56be9d095f
commit
83869c8dab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user