From e3c717e847a10233533813253dc8af6d95839ea9 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Tue, 12 Nov 2024 21:50:21 +0800 Subject: [PATCH] fix library and excutable install mode, which will confuse new debugedit --- tcl-8.6.15-fix-install-mode.patch | 22 ++++++++++++++++++++++ tcl.spec | 6 +++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 tcl-8.6.15-fix-install-mode.patch diff --git a/tcl-8.6.15-fix-install-mode.patch b/tcl-8.6.15-fix-install-mode.patch new file mode 100644 index 0000000..e03b0c2 --- /dev/null +++ b/tcl-8.6.15-fix-install-mode.patch @@ -0,0 +1,22 @@ +--- tcl8.6.15/unix/Makefile.in.orig 2024-11-12 16:31:23.486705192 +0800 ++++ tcl8.6.15/unix/Makefile.in 2024-11-12 16:56:09.598577892 +0800 +@@ -154,8 +154,8 @@ + INSTALL_STRIP_LIBRARY = strip -x + + INSTALL = $(SHELL) $(UNIX_DIR)/install-sh -c +-INSTALL_PROGRAM = ${INSTALL} +-INSTALL_LIBRARY = ${INSTALL} ++INSTALL_PROGRAM = ${INSTALL} -m 755 ++INSTALL_LIBRARY = ${INSTALL} -m 755 + INSTALL_DATA = ${INSTALL} -m 644 + INSTALL_DATA_DIR = ${INSTALL} -d -m 755 + +@@ -812,7 +812,7 @@ + done + @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/" + @@INSTALL_LIB@ +- @chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)" ++ @chmod 755 "$(DLL_INSTALL_DIR)/$(LIB_FILE)" + @echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" + @$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}" + @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/" diff --git a/tcl.spec b/tcl.spec index 8b2ebf9..1c37d51 100644 --- a/tcl.spec +++ b/tcl.spec @@ -2,7 +2,7 @@ Name: tcl Version: 8.6.15 -Release: 2 +Release: 3 Epoch: 1 Summary: The Tool Command Language implementation License: TCL AND GPL-3.0-or-later WITH bison-exception-2.2 AND BSD-3-Clause @@ -22,6 +22,7 @@ Patch3: tcl-8.6.10-tcltests-path-fix.patch Patch4: stay-out-of-internals-when-nice-interfaces-are-avail.patch Patch5: oops.patch Patch6: File-not-found-should-be-ignored-silently.patch +Patch7: tcl-8.6.15-fix-install-mode.patch %description Tcl(Tool Command Language) provides a powerful platform for creating integration applications @@ -120,6 +121,9 @@ popd %{_mandir}/man?/* %changelog +* Tue Nov 12 2024 Funda Wang - 1:8.6.15-3 +- fix library and excutable install mode, which will confuse new debugedit + * Wed Oct 16 2024 Funda Wang - 1:8.6.15-2 - add macros.tcl for downstream packages -- Gitee