Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tcl for openSUSE:Factory checked in at 2021-05-11 23:03:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tcl (Old) and /work/SRC/openSUSE:Factory/.tcl.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tcl" Tue May 11 23:03:27 2021 rev:61 rq:890815 version:8.6.11 Changes: -------- --- /work/SRC/openSUSE:Factory/tcl/tcl.changes 2021-01-19 15:58:23.587035227 +0100 +++ /work/SRC/openSUSE:Factory/.tcl.new.2988/tcl.changes 2021-05-11 23:03:28.325146064 +0200 @@ -1,0 +2,8 @@ +Wed May 5 18:32:38 UTC 2021 - Reinhard Max <[email protected]> + +- bsc#1185662: Move tcl.macros /usr/lib/rpm/macros.d . +- https://core.tcl-lang.org/thread/tktview?name=98ae20f0f5: + Add tcl-aa4a13c15516da45.patch to disable lto for the stubs + libraries. + +------------------------------------------------------------------- New: ---- tcl-aa4a13c15516da45.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tcl.spec ++++++ --- /var/tmp/diff_new_pack.7Kb0YW/_old 2021-05-11 23:03:28.841143710 +0200 +++ /var/tmp/diff_new_pack.7Kb0YW/_new 2021-05-11 23:03:28.841143710 +0200 @@ -41,6 +41,7 @@ Source1: tcl-rpmlintrc Source2: baselibs.conf Source3: macros.tcl +Patch0: tcl-aa4a13c15516da45.patch BuildRequires: autoconf BuildRequires: pkg-config BuildRequires: zlib-devel @@ -80,6 +81,7 @@ %prep %setup -q -n %name%version +%patch0 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects @@ -151,7 +153,7 @@ ln -sf tclsh%TCL_MINOR %buildroot%_prefix/bin/tclsh 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/etc/rpm/macros.tcl +install -D %{S:3} -m 644 %buildroot%_rpmmacrodir/macros.tcl %if "%_lib" == "lib64" %post @@ -172,7 +174,7 @@ %exclude %scriptdir/*/*.a %exclude %scriptdir/*/*Config.sh %exclude %scriptdir/*/tclAppInit.c -%config /etc/rpm/macros.tcl +%_rpmmacrodir/macros.tcl %files devel %defattr(-,root,root) ++++++ tcl-aa4a13c15516da45.patch ++++++ Index: unix/Makefile.in ================================================================== --- unix/Makefile.in +++ unix/Makefile.in @@ -1783,17 +1783,17 @@ # Stub library binaries, these must be compiled for use in a shared library # even though they will be placed in a static archive #-------------------------------------------------------------------------- tclStubLib.o: $(GENERIC_DIR)/tclStubLib.c - $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD $(GENERIC_DIR)/tclStubLib.c + $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD -fno-lto $(GENERIC_DIR)/tclStubLib.c tclTomMathStubLib.o: $(GENERIC_DIR)/tclTomMathStubLib.c - $(CC) -c $(STUB_CC_SWITCHES) $(GENERIC_DIR)/tclTomMathStubLib.c + $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD -fno-lto $(GENERIC_DIR)/tclTomMathStubLib.c tclOOStubLib.o: $(GENERIC_DIR)/tclOOStubLib.c - $(CC) -c $(STUB_CC_SWITCHES) $(GENERIC_DIR)/tclOOStubLib.c + $(CC) -c $(STUB_CC_SWITCHES) -DSTATIC_BUILD -fno-lto $(GENERIC_DIR)/tclOOStubLib.c .c.o: $(CC) -c $(CC_SWITCHES) $< #--------------------------------------------------------------------------
