Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tcl for openSUSE:Factory checked in at 2022-04-01 21:34:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tcl (Old) and /work/SRC/openSUSE:Factory/.tcl.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tcl" Fri Apr 1 21:34:52 2022 rev:63 rq:965666 version:8.6.12 Changes: -------- --- /work/SRC/openSUSE:Factory/tcl/tcl.changes 2021-11-13 22:48:02.721227841 +0100 +++ /work/SRC/openSUSE:Factory/.tcl.new.1900/tcl.changes 2022-04-01 21:35:01.350210161 +0200 @@ -1,0 +2,8 @@ +Tue Mar 29 12:50:00 UTC 2022 - Reinhard Max <m...@suse.com> + +- Remove the SQLite extension and package it as a subpackage of + sqlite3 to have only a single copy and keep it more up to date + (bsc#1195773). +- Clean up the lib dependencies in tclConfig.sh and tcl.pc. + +------------------------------------------------------------------- @@ -118,0 +127 @@ + (bsc#1179615, bsc#1181840). ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tcl.spec ++++++ --- /var/tmp/diff_new_pack.ttAfdS/_old 2022-04-01 21:35:01.974203209 +0200 +++ /var/tmp/diff_new_pack.ttAfdS/_new 2022-04-01 21:35:01.978203165 +0200 @@ -1,7 +1,7 @@ # # spec file for package tcl # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,6 +16,10 @@ # +%if 0%{!?_rpmmacrodir:1} +%define _rpmmacrodir %{_rpmconfigdir}/macros.d +%endif + Name: tcl URL: http://www.tcl.tk Version: 8.6.12 @@ -31,6 +35,9 @@ Provides: tclsh Provides: tclsh%{TCL_MINOR} Obsoletes: itcl < %itclver +# Require the extension from the SQLite package instead of shipping +# the embedded copy, which might be outdated. +Requires: sqlite3-tcl # bug437293 %ifarch ppc64 Obsoletes: tcl-64bit @@ -85,6 +92,10 @@ exit 1 fi +# The SQLite extension is provided by the sqlite3 package, +# so don't build it here. +rm -r pkgs/sqlite3.* + %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects %define scriptdir %_libdir/tcl @@ -156,8 +167,11 @@ ln -sf tclsh.1.gz %buildroot%_mandir/man1/tclsh%TCL_MINOR.1.gz mkdir -p %buildroot%_datadir/tcl install -D %{S:3} -m 644 %buildroot%_rpmmacrodir/macros.tcl -# We are Tcl, not SQLite -rm -f %buildroot%bindir/sqlite* + +# The information in TCL_LIBS is not needed for shared libraries +# and we don't support static linking. +sed -i "/^TCL_LIBS=/s/'.*'$//" %buildroot%_libdir/tclConfig.sh +sed -i "/^Libs.private: /s/ .*$//" %buildroot%_libdir/pkgconfig/tcl.pc %if "%_lib" == "lib64" %post