From 7870511cd501d641fa68193d318df06db0f67029 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 1 Jul 2019 10:20:07 +0200 Subject: [PATCH] Change scope of commons-logging dependency to provided --- httpcomponents-client.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httpcomponents-client.spec b/httpcomponents-client.spec index 41ca74f..cbe24ae 100644 --- a/httpcomponents-client.spec +++ b/httpcomponents-client.spec @@ -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