From fbc2e9f3f34b161151b6100fc32fcb52245a54bb58bbc207b1d48510119b19e5 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 23 Nov 2021 17:14:37 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=140 --- tcl.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tcl.spec b/tcl.spec index 45d870c..4a42cb7 100644 --- a/tcl.spec +++ b/tcl.spec @@ -160,10 +160,12 @@ 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%_rpmmacrodir/macros.tcl + # 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 + # We are Tcl, not SQLite rm -f %buildroot%bindir/sqlite*