public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openssl] rebase_40beta: Disable -devel-engine on RHEL 10+
@ 2026-06-09 12:45 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-09 12:45 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-09 12:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 12:45 [rpms/openssl] rebase_40beta: Disable -devel-engine 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