[packages/tcllib] Rel 2

arekm arekm at pld-linux.org
Sat Mar 14 15:13:30 CET 2026


commit 57a0872bccf19e1b8fa28621fe50595ab5af8049
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 14 15:13:23 2026 +0100

    Rel 2

 tcllib.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/tcllib.spec b/tcllib.spec
index 662f646..c38d601 100644
--- a/tcllib.spec
+++ b/tcllib.spec
@@ -2,7 +2,7 @@ Summary:	Libraries for Tcl
 Summary(pl.UTF-8):	Biblioteki dla Tcl-a
 Name:		tcllib
 Version:	1.18
-Release:	1
+Release:	2
 License:	BSD-like (see license.terms)
 Group:		Development/Languages/Tcl
 Source0:	http://downloads.sourceforge.net/tcllib/%{name}-%{version}.tar.bz2
@@ -309,6 +309,8 @@ użyteczne dla wielu programistów Tcl-a.
 %{__make}
 
 #%{__make} nroff-doc
+install -d embedded/man/files/modules
+cp -a modules/common-text embedded/man/files/modules/
 tclsh sak.tcl localdoc
 
 %install
@@ -318,6 +320,9 @@ install -d $RPM_BUILD_ROOT%{_mandir}/man1
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# normalize generated app shebangs for PLD policy
+%{__sed} -i '1s|^#![[:space:]]*/usr/bin/env tclsh$|#!%{__tclsh}|' $RPM_BUILD_ROOT%{_bindir}/*
+
 # installed with wrong extension
 for f in apps/*.man ; do
 	bn="$(basename $f .man)"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tcllib.git/commitdiff/57a0872bccf19e1b8fa28621fe50595ab5af8049



More information about the pld-cvs-commit mailing list