import CS httpcomponents-client-4.5.13-7.el9

This commit is contained in:
eabdullin 2025-03-11 07:26:45 +00:00
parent 31496499f0
commit 6e15a68354

View File

@ -3,18 +3,19 @@
Name: httpcomponents-client
Summary: HTTP agent implementation based on httpcomponents HttpCore
Version: 4.5.13
Release: 3%{?dist}
Release: 7%{?dist}
License: ASL 2.0
URL: http://hc.apache.org/
Source0: https://www.apache.org/dist/httpcomponents/httpclient/source/%{name}-%{version}-src.tar.gz
BuildArch: noarch
ExclusiveArch: aarch64 ppc64le s390x x86_64 noarch
Patch0: 0001-Use-system-copy-of-effective_tld_names.dat.patch
Patch1: 0002-Port-to-mockito-2.patch
BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(commons-codec:commons-codec)
BuildRequires: mvn(commons-logging:commons-logging)
@ -43,8 +44,8 @@ encouraged to upgrade.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%patch -P 0 -p1
%patch -P 1 -p1
%mvn_package :::tests: __noinstall
@ -124,6 +125,18 @@ rm httpclient/src/test/java/org/apache/http/client/config/TestRequestConfig.java
%doc README.txt RELEASE_NOTES.txt
%changelog
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 4.5.13-7
- Add noarch to ExclusiveArch
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 4.5.13-6
- Disable building on i686
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 4.5.13-5
- Fix patch usage
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 4.5.13-4
- Rebuild with regenerated Requires on Java
* Mon Jan 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.5.13-3
- Rebuild to regenerate auto-requires