public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: Disable engine support on RHEL 10+
@ 2026-11-02 14:32 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-11-02 14:32 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.21.0-9
            Commit : 0e038361ddf5965bd02544323cab07570e4281f6
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2024-11-06T13:13:17-05:00
            Stats  : +6/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/0e038361ddf5965bd02544323cab07570e4281f6?branch=curl-v8.21.0-9

            Log:
            Disable engine support on RHEL 10+

RHEL 10 does not provide the engine header at all.  Also, restore
compatibility with earlier versions which do not have a separate subpackage
for the engine header.

---
diff --git a/curl.spec b/curl.spec
index 80243c8..ba56d35 100644
--- a/curl.spec
+++ b/curl.spec
@@ -2,12 +2,12 @@
 # This is deprecated by OpenSSL since OpenSSL 3.0 and by Fedora since Fedora 41
 # https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine
 # Change the bcond to 0 to turn off ENGINE support by default
-%bcond openssl_engine_support 1
+%bcond openssl_engine_support %[%{defined fedora} || 0%{?rhel} < 10]
 
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 8.11.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: curl
 Source0: https://curl.se/download/%{name}-%{version}.tar.xz
 Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc
@@ -52,7 +52,7 @@ BuildRequires: openldap-devel
 BuildRequires: openssh-clients
 BuildRequires: openssh-server
 BuildRequires: openssl-devel
-%if %{with openssl_engine_support}
+%if %{with openssl_engine_support} && 0%{?fedora} >= 41
 BuildRequires:  openssl-devel-engine
 %endif
 BuildRequires: perl-interpreter
@@ -407,6 +407,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Wed Nov 06 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 8.11.0-2
+- Disable engine support on RHEL 10+
+
 * Wed Nov 06 2024 Jan Macku <jamacku@redhat.com> - 8.11.0-1
 - new upstream release, which fixes the following vulnerabilities
     CVE-2024-9681 - HSTS subdomain overwrites parent cache entry

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-02 14:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:32 [rpms/curl] curl-v8.21.0-9: Disable engine support on RHEL 10+ Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox