Port to Mockito 5
This commit is contained in:
parent
bb4af8f43b
commit
c0edaf81cc
2384
0002-Port-to-Mockito-5.patch
Normal file
2384
0002-Port-to-Mockito-5.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -3,11 +3,12 @@
|
|||||||
Name: httpcomponents-core
|
Name: httpcomponents-core
|
||||||
Summary: Set of low level Java HTTP transport components for HTTP services
|
Summary: Set of low level Java HTTP transport components for HTTP services
|
||||||
Version: 4.4.16
|
Version: 4.4.16
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: http://hc.apache.org/
|
URL: http://hc.apache.org/
|
||||||
Source0: https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-core/%{version}/httpcomponents-core-%{version}-source-release.zip
|
Source0: https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-core/%{version}/httpcomponents-core-%{version}-source-release.zip
|
||||||
Patch0: 0001-Port-to-mockito-2.patch
|
Patch1: 0001-Port-to-mockito-2.patch
|
||||||
|
Patch2: 0002-Port-to-Mockito-5.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{java_arches} noarch
|
ExclusiveArch: %{java_arches} noarch
|
||||||
@ -41,7 +42,8 @@ HTTP connections in a resource efficient manner.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch 1 -p1
|
||||||
|
%patch 2 -p1
|
||||||
|
|
||||||
# Tests failing with Java 17
|
# Tests failing with Java 17
|
||||||
sed -i '/testAwaitInputInBuffer\|testAwaitInputInSocket\|testNotStaleWhenHasData\|testWriteSmallFragmentBuffering\|testWriteSmallFragmentNoBuffering/i@org.junit.Ignore' httpcore/src/test/java/org/apache/http/impl/{TestBHttpConnectionBase,io/TestSessionInOutBuffers}.java
|
sed -i '/testAwaitInputInBuffer\|testAwaitInputInSocket\|testNotStaleWhenHasData\|testWriteSmallFragmentBuffering\|testWriteSmallFragmentNoBuffering/i@org.junit.Ignore' httpcore/src/test/java/org/apache/http/impl/{TestBHttpConnectionBase,io/TestSessionInOutBuffers}.java
|
||||||
@ -95,6 +97,9 @@ done
|
|||||||
%doc README.txt RELEASE_NOTES.txt
|
%doc README.txt RELEASE_NOTES.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 12 2023 Marian Koncek <mkoncek@redhat.com> - 4.4.16-4
|
||||||
|
- Port to Mockito 5
|
||||||
|
|
||||||
* Wed Sep 20 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.16-3
|
* Wed Sep 20 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.4.16-3
|
||||||
- Rebuild to regenerate auto-Requires on java
|
- Rebuild to regenerate auto-Requires on java
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user