diff --git a/httpcomponents-core.spec b/httpcomponents-core.spec index 8e420a64ada7239c23780c5fdba0a3fd419f0cd2..020c2664b98e826b0766dfdfc6f3c67b375b0460 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