Conditionalize buildrequires in bootstrap mode
This commit is contained in:
parent
210a1c0d29
commit
c8c1c93eee
@ -1,3 +1,5 @@
|
||||
%bcond_without bootstrap
|
||||
|
||||
Name: httpcomponents-core
|
||||
Summary: Set of low level Java HTTP transport components for HTTP services
|
||||
Version: 4.4.13
|
||||
@ -10,12 +12,16 @@ Patch0: 0001-Port-to-mockito-2.patch
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: maven-local-openjdk8
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(commons-logging:commons-logging)
|
||||
BuildRequires: mvn(junit:junit)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.apache.httpcomponents:httpcomponents-parent:pom:)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
BuildRequires: mvn(org.mockito:mockito-core)
|
||||
%endif
|
||||
|
||||
%description
|
||||
HttpCore is a set of low level HTTP transport components that can be
|
||||
|
Loading…
Reference in New Issue
Block a user