public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tcltls] rawhide: update to 2.0.1
@ 2026-08-06 18:49 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-06 18:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/tcltls
Branch : rawhide
Commit : db3d475cb056c32957456198cac8a503e89ef6c5
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-07-20T22:09:53-03:00
Stats  : +12/-30 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/tcltls/c/db3d475cb056c32957456198cac8a503e89ef6c5?branch=rawhide

Log:
update to 2.0.1

---
diff --git a/.gitignore b/.gitignore
index a779629..be19c95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /tls*-src.tar.gz
 /tcltls-*.tar.gz
+/tcltls2.0.1.tar.gz

diff --git a/sources b/sources
index e143705..55b1904 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tcltls-1.7.22.tar.gz) = 28c76a6e7333b6ed1d83234691d61c9e71a59d0a6a28182fc0f50e97cae7b54da63ac76527e3b16087f3eab0b9cfe19bad02362e485d0cf378724de534805e99
+SHA512 (tcltls2.0.1.tar.gz) = 56bb8b438fd10d6ea0af29d948a8316796aadb5ba7c97886fa6c952cc68abc53a67242c3b07d27f215f68b41e54e2e6ee6972f6c9db4e695b5d44b8bf3c04800

diff --git a/tcltls.spec b/tcltls.spec
index 26bcefa..34388c1 100644
--- a/tcltls.spec
+++ b/tcltls.spec
@@ -2,32 +2,20 @@
 %{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
 
 Name:           tcltls
-Version:        1.7.22
+Version:        2.0.1
 Release:        %autorelease
 Summary:        OpenSSL extension for Tcl
 
 # Automatically converted from old format: BSD - review is highly recommended.
 License:        LicenseRef-Callaway-BSD
 URL:            https://core.tcl.tk/tcltls/home
-Source0:        https://core.tcl.tk/tcltls/uv/%{name}-%{version}.tar.gz
-
-Patch0:         tcltls-1.7.21-cipher-tests.patch
-Patch1:         tcltls-1.7.21-hostname-tests.patch
-Patch2:         tcltls-1.7.22-cert-tests.patch
-Patch3:         tcltls-1.7.22-fall-through.patch
-Patch4:         tcltls-1.7.22-openssl3.patch
-Patch5:         tcltls-1.7.22-tcl-9_0.patch
-Patch6:         tcltls-1.7.22-tcl-9_0_second.patch
-Patch7:         tcltls-1.7.22-tcl-9_0_third.patch
+Source0:        https://core.tcl.tk/tcltls/uv/%{name}%{version}.tar.gz
 
+BuildRequires:  gcc
 BuildRequires:  make
-%if 0%{?fedora} || 0%{?rhel} >= 8
+BuildRequires:  openssl
 BuildRequires:  openssl-devel
-%else
-BuildRequires:  openssl11-devel
-%endif
 BuildRequires:  tcl-devel
-BuildRequires:  gcc
 
 Requires:       tcl(abi) = %{tcl_version}
 
@@ -44,20 +32,11 @@ The TLS OpenSSL extension to Tcl
 This package contains the development files for tls.
 
 %prep
-%autosetup -p1
-
-# 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
+%autosetup -n %{name}%{version}
+chmod 0644 README.txt ChangeLog license.terms
 
 %build
-%configure --disable-rpath --with-ssl-dir=%{_prefix}
+%configure --enable-symbols --disable-rpath --with-ssl-dir=%{_prefix}
 %make_build
 
 %check
@@ -65,13 +44,15 @@ make test
 
 %install
 %make_install libdir=%{tcl_sitearch}
+chmod 0755 %{buildroot}%{tcl_sitearch}/%{name}%{version}/*.so
 
-%{__install} -D -p -m 0644 tls.h %{buildroot}%{_includedir}/tls.h
+install -D -p -m 0644 generic/tls.h %{buildroot}%{_includedir}/tls.h
 
 %files
 %license license.terms
 %doc README.txt ChangeLog
 %{tcl_sitearch}/%{name}%{version}
+%{_mandir}/mann/tls.n*
 
 %files devel
 %{_includedir}/tls.h

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

only message in thread, other threads:[~2026-08-06 18:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 18:49 [rpms/tcltls] rawhide: update to 2.0.1 Filipe Rosset

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