Accepting request 735436 from Java:packages

avoid version-less dependencies that gradle does not like

OBS-URL: https://build.opensuse.org/request/show/735436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpcomponents-client?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-10-07 11:46:18 +00:00 committed by Git OBS Bridge
commit afdac51c27
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 5 12:42:31 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Avoid version-less dependencies in pom files, since
xmvn-connector-gradle does not handle them well
-------------------------------------------------------------------
Wed Mar 13 16:41:34 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -35,10 +35,10 @@ BuildRequires: fdupes
BuildRequires: httpcomponents-core
BuildRequires: javapackages-local
BuildRequires: publicsuffix
Requires: publicsuffix
Requires: mvn(commons-codec:commons-codec)
Requires: mvn(commons-logging:commons-logging)
Requires: mvn(org.apache.httpcomponents:httpcore)
Requires: publicsuffix
BuildArch: noarch
%if %{with tests}
BuildRequires: ant-junit
@ -171,6 +171,8 @@ for module in fluent-hc httpclient httpclient-cache httpmime; do
<groupId>org.apache.httpcomponents</groupId>
<version>%{version}</version>" $module
%pom_remove_parent $module
# adds version "any" if none is specified
%pom_change_dep ::::: ::::: $module
done
%build