Change scope of commons-logging dependency to provided

This commit is contained in:
Mikolaj Izdebski 2019-07-01 10:20:07 +02:00
parent b639801ca2
commit 7870511cd5

View File

@ -12,7 +12,7 @@ Patch1: 0002-Port-to-mockito-2.patch
BuildRequires: maven-local
BuildRequires: %{?module_prefix}mvn(commons-codec:commons-codec)
BuildRequires: %{?module_prefix}mvn(commons-logging:commons-logging)
BuildRequires: mvn(commons-logging:commons-logging)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: %{?module_prefix}mvn(org.apache.httpcomponents:httpcore)
@ -58,6 +58,9 @@ This package provides client side caching for %{name}.
%mvn_package :::tests: __noinstall
%mvn_package :httpclient-cache cache
# Change scope of commons-logging to provided
%pom_change_dep :commons-logging :::provided
# Remove optional build deps not available in Fedora
%pom_disable_module httpclient-osgi
%pom_disable_module httpclient-win