From 9a4fedfae128abe7521f2234479c7b86e099f5c1 Mon Sep 17 00:00:00 2001 From: lanruo Date: Mon, 21 Aug 2023 16:33:25 +0800 Subject: [PATCH] fix sw_64 build error --- httpcomponents-core.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 8e420a6..020c266 100644 --- a/httpcomponents-core.spec +++ b/httpcomponents-core.spec @@ -1,12 +1,16 @@ +%ifarch sw_64 + %global is_sw_64 1 +%endif + Name: httpcomponents-core Version: 4.4.15 -Release: 1 +Release: 2 Summary: Set of low level Java HTTP transport components for HTTP services License: ASL 2.0 URL: http://hc.apache.org/ Source0: http://www.apache.org/dist/httpcomponents/httpcore/source/httpcomponents-core-%{version}-src.tar.gz -Patch0: 0001-Port-to-mockito-2.patch +Patch0: 0001-Port-to-mockito-2.patch BuildArch: noarch BuildRequires: maven-local apache-commons-logging junit apache-commons-lang3 mockito @@ -62,6 +66,10 @@ done %mvn_file ":{*}" httpcomponents/@1 +%if 0%{?is_sw_64} +rm httpcore-nio/src/test/java/org/apache/http/nio/integration/TestTLSIntegration.java +%endif + %build %mvn_build @@ -78,6 +86,9 @@ done %{_datadir}/maven-metadata/* %changelog +* Wed Jun 14 2023 panchenbo - 4.4.15-2 +- fix sw_64 build error + * Fri Nov 4 2022 liyanan - 4.4.15-1 - Update to 4.4.15 -- Gitee