public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tcltls] epel10: Build against OpenSSL 1.1 on RHEL 7 (for TLSv1.3 support)
@ 2026-08-17 17:42 Robert Scheck
0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-08-17 17:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/tcltls
Branch : epel10
Commit : 5e7fb98ec0d9bcde2a0c4d42dc70191c13f7230f
Author : Robert Scheck <robert@fedoraproject.org>
Date : 2022-05-28T23:24:37+02:00
Stats : +15/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/tcltls/c/5e7fb98ec0d9bcde2a0c4d42dc70191c13f7230f?branch=epel10
Log:
Build against OpenSSL 1.1 on RHEL 7 (for TLSv1.3 support)
---
diff --git a/tcltls.spec b/tcltls.spec
index 350df9d..76c7937 100644
--- a/tcltls.spec
+++ b/tcltls.spec
@@ -3,7 +3,7 @@
Name: tcltls
Version: 1.7.22
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: OpenSSL extension for Tcl
License: BSD
@@ -17,7 +17,11 @@ Patch3: tcltls-1.7.22-fall-through.patch
Patch4: tcltls-1.7.22-openssl3.patch
BuildRequires: make
+%if 0%{?fedora} || 0%{?rhel} >= 8
BuildRequires: openssl-devel
+%else
+BuildRequires: openssl11-devel
+%endif
BuildRequires: tcl-devel
BuildRequires: gcc
@@ -41,6 +45,13 @@ This package contains the development files for tls.
# Disable strip via objcopy(1) to achieve -debuginfo
sed -e 's/-@\(WEAKEN\|REMOVE\)SYMS@/:/' -i Makefile.in
+# Build against OpenSSL 1.1 on RHEL 7 (for TLSv1.3 support)
+%if 0%{?rhel} == 7
+sed -e 's|-L$openssldir/lib|-L%{_libdir}/openssl11|g' \
+ -e 's|-I$openssldir/include|-I%{_includedir}/openssl11|g' \
+ -i configure
+%endif
+
%build
%configure --disable-rpath --with-ssl-dir=%{_prefix}
%make_build
@@ -62,6 +73,9 @@ make test
%{_includedir}/tls.h
%changelog
+* Sat May 28 2022 Robert Scheck <robert@fedoraproject.org> - 1.7.21-7
+- Build against OpenSSL 1.1 on RHEL 7 (for TLSv1.3 support)
+
* Sat May 28 2022 Robert Scheck <robert@fedoraproject.org> - 1.7.21-6
- Disabled strip via objcopy to achieve proper -debuginfo package
- Added patch to fix compiler warnings about implicit fall-through
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-17 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 17:42 [rpms/tcltls] epel10: Build against OpenSSL 1.1 on RHEL 7 (for TLSv1.3 support) Robert Scheck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox