From 97a6cb6c475c46f926efa030602f3ea32fdf0a06 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Sat, 2 Aug 2025 03:07:43 +0800 Subject: [PATCH] drop hardcode tcl(abi) requirements (cherry picked from commit 8c2fa9dfe6740a13ac30483869012adb7eca611d) --- tcllib.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/tcllib.spec b/tcllib.spec index 53128a5..066ebe8 100644 --- a/tcllib.spec +++ b/tcllib.spec @@ -1,17 +1,13 @@ -%global tcl_version %(echo 'puts $tcl_version' | tclsh) -%global tcl_sitelib %{_datadir}/tcl%{tcl_version} - Summary: The standard Tcl library Name: tcllib Version: 2.0 -Release: 1 +Release: 2 License: TCL URL: http://tcllib.sourceforge.net/ Source: https://downloads.sourceforge.net/tcllib/%{name}-%{version}.tar.xz BuildArch: noarch -Requires: tcl(abi) = 8.6 -BuildRequires: tcl >= 8.6 +BuildRequires: tcl >= 8.5 Patch0001: 0001-Fix-invalid-command-name-log.patch @@ -21,7 +17,6 @@ that provide utility functions useful to a large collection of Tcl programmers. %package help -Requires: tcl(abi) = 8.6 Summary: help documentation for tcllib %description help @@ -45,7 +40,7 @@ mv -f modules/struct/pool.html.new modules/struct/pool.html find %{buildroot}/%{_datadir} -name \*.tcl | xargs chmod 0644 %files -%doc support/releases/PACKAGES ChangeLog +%doc support/releases/PACKAGES ChangeLog *.txt %doc modules/exif/*.html modules/ftp/docs/*.html modules/mime/*.html modules/stooop/*.html %doc modules/textutil/*.html modules/struct/*.html %license license.terms @@ -62,6 +57,10 @@ find %{buildroot}/%{_datadir} -name \*.tcl | xargs chmod 0644 %{_mandir}/mann/* %changelog +* Sat Aug 02 2025 Funda Wang - 2.0-2 +- drop hardcode tcl(abi) requirements, those will be added automaticaly + by tcl package now + * Fri Aug 01 2025 yaoxin <1024769339@qq.com> - 2.0-1 - Update to 2.0: * __drops support__ for Tcl versions before 8.5. -- Gitee