diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index e8d9d77..123ab3f 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -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