public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/openssl] rebase_40beta: Disable -devel-engine on RHEL 10+
Date: Tue, 09 Jun 2026 12:45:32 GMT [thread overview]
Message-ID: <178100913281.1.15972052942873445414.rpms-openssl-e88ab4d9a34f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/openssl
Branch : rebase_40beta
Commit : e88ab4d9a34f19c053aa009ebab9eef85a60ae8e
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2025-06-01T13:43:17-04:00
Stats : +17/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/openssl/c/e88ab4d9a34f19c053aa009ebab9eef85a60ae8e?branch=rebase_40beta
Log:
Disable -devel-engine on RHEL 10+
ENGINE is deprecated but the header is still (separately) available for
Fedora. While still built for binary compatibility, the header has been
completely removed from RHEL 10 and later, and anything in EPEL 10 has been
ported to work without it. All the necessary changes have also been
brought back to ELN and ELN Extras.
https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine
---
diff --git a/openssl.spec b/openssl.spec
index fbcd7fc..e185595 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -26,10 +26,15 @@ print(string.sub(hash, 0, 16))
%global _performance_build 1
+# https://fedoraproject.org/wiki/Changes/OpensslDeprecateEngine
+# ENGINE is deprecated but still (separately) available for Fedora.
+# It has been completely removed from RHEL 10 and later.
+%bcond engine %[!(0%{?rhel} >= 10)]
+
Summary: Utilities from the general purpose cryptography library with TLS implementation
Name: openssl
Version: 3.5.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
Source0: openssl-%{version}.tar.gz
Source1: fips-hmacify.sh
@@ -131,12 +136,16 @@ support cryptographic algorithms and protocols.
Summary: Files for development of applications which will use OpenSSL
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
+%if %{without engine}
+Obsoletes: %{name}-devel-engine < %{epoch}:%{version}-%{release}
+%endif
%description devel
OpenSSL is a toolkit for supporting cryptography. The openssl-devel
package contains include files needed to develop applications which
support various cryptographic algorithms and protocols.
+%if %{with engine}
%package devel-engine
Summary: Files for development of applications which will use OpenSSL and use deprecated ENGINE API.
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
@@ -148,6 +157,7 @@ Provides: deprecated()
OpenSSL is a toolkit for supporting cryptography. The openssl-devel-engine
package contains include files needed to develop applications which
use deprecated OpenSSL ENGINE functionality.
+%endif
%package perl
Summary: Perl scripts provided with OpenSSL
@@ -373,7 +383,7 @@ basearch=sparc64
# Next step of gradual disablement of ENGINE.
sed -i '/^\# ifndef OPENSSL_NO_STATIC_ENGINE/i\
-# if !__has_include(<openssl/engine.h>) && !defined(OPENSSL_NO_ENGINE)\
+# if %{?with_engine:!__has_include(<openssl/engine.h>) &&} !defined(OPENSSL_NO_ENGINE)\
# define OPENSSL_NO_ENGINE\
# endif' $RPM_BUILD_ROOT/%{_prefix}/include/openssl/configuration.h
@@ -431,9 +441,11 @@ ln -s /etc/crypto-policies/back-ends/openssl_fips.config $RPM_BUILD_ROOT%{_sysco
%{_libdir}/cmake/OpenSSL/OpenSSLConfigVersion.cmake
+%if %{with engine}
%files devel-engine
%{_prefix}/include/openssl/engine*.h
%{_mandir}/man3/ENGINE*
+%endif
%files perl
%{_bindir}/c_rehash
@@ -450,6 +462,9 @@ ln -s /etc/crypto-policies/back-ends/openssl_fips.config $RPM_BUILD_ROOT%{_sysco
%ldconfig_scriptlets libs
%changelog
+* Thu Apr 24 2025 Yaakov Selkowitz <yselkowi@redhat.com> - 1:3.5.0-4
+- Disable -devel-engine on RHEL 10+
+
* Tue Apr 15 2025 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:3.5.0-3
- Rebase to OpenSSL 3.5 final release, sync patches with RHEL. Restoring POWER8 support
Resolves: rhbz#2359082
reply other threads:[~2026-06-09 12:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178100913281.1.15972052942873445414.rpms-openssl-e88ab4d9a34f@fedoraproject.org \
--to=yselkowi@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox