public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/tcltls] epel10: Build against OpenSSL 1.1 on RHEL 7 (for TLSv1.3 support)
Date: Mon, 17 Aug 2026 17:42:08 GMT	[thread overview]
Message-ID: <178698852876.1.10933087250589134240.rpms-tcltls-5e7fb98ec0d9@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-17 17:42 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=178698852876.1.10933087250589134240.rpms-tcltls-5e7fb98ec0d9@fedoraproject.org \
    --to=robert@fedoraproject.org \
    --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