Accepting request 1090208 from home:urbic:branches:Java:packages

- Set BuildArch to noarch
- Apply spec-cleaner
- Rename patch:
  + httpcomponents-client5-conscript.patch ->
    httpcomponents-client5-conscrypt.patch

OBS-URL: https://build.opensuse.org/request/show/1090208
OBS-URL: https://build.opensuse.org/package/show/Java:packages/httpcomponents-client5?expand=0&rev=3
This commit is contained in:
2023-06-01 10:20:14 +00:00
committed by Git OBS Bridge
parent 1b3adb2aee
commit 8dfefab866
3 changed files with 18 additions and 6 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Jun 1 07:56:24 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Set BuildArch to noarch
- Apply spec-cleaner
- Rename patch:
+ httpcomponents-client5-conscript.patch ->
httpcomponents-client5-conscrypt.patch
-------------------------------------------------------------------
Wed May 31 10:19:55 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@@ -24,10 +24,9 @@ License: Apache-2.0
Group: Development/Libraries/Java
URL: https://hc.apache.org/
Source0: https://archive.apache.org/dist/httpcomponents/httpclient/source/httpcomponents-client-%{version}-src.tar.gz
Patch0: %{name}-conscript.patch
Patch0: %{name}-conscrypt.patch
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: publicsuffix
BuildRequires: mvn(net.java.dev.jna:jna)
BuildRequires: mvn(net.java.dev.jna:jna-platform)
BuildRequires: mvn(org.apache.httpcomponents.core5:httpcore5)
@@ -36,9 +35,13 @@ BuildRequires: mvn(org.apache.httpcomponents.core5:httpcore5-testing)
BuildRequires: mvn(org.apache.httpcomponents:httpcomponents-parent:pom:)
BuildRequires: mvn(org.apache.logging.log4j:log4j-core)
BuildRequires: mvn(org.apache.logging.log4j:log4j-slf4j-impl)
BuildRequires: mvn(org.brotli:dec) mvn(org.junit:junit-bom:pom:)
BuildRequires: mvn(org.slf4j:slf4j-api) mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.brotli:dec)
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
BuildRequires: mvn(org.junit:junit-bom:pom:)
BuildRequires: mvn(org.slf4j:slf4j-api)
BuildRequires: publicsuffix
Requires: publicsuffix
BuildArch: noarch
%description
HttpClient is a HTTP/1.1 compliant HTTP agent implementation based on
@@ -90,8 +93,8 @@ rm -f httpclient5/src/main/java/org/apache/hc/client5/http/ssl/ConscryptClientTl
-Dsource=8
%install
%mvn_package :{*}-parent __noinstall
%mvn_package :{*}-cache cache
%{mvn_package} :{*}-parent __noinstall
%{mvn_package} :{*}-cache cache
%mvn_install
%fdupes -s %{buildroot}%{_javadocdir}