SHA256
3
0
forked from pool/tcl
Reinhard Max 2021-11-23 17:14:04 +00:00 committed by Git OBS Bridge
parent 613a12943e
commit 29b952ba17

View File

@ -160,6 +160,10 @@ ln -sf tclsh%TCL_MINOR %buildroot%_prefix/bin/tclsh
ln -sf tclsh.1.gz %buildroot%_mandir/man1/tclsh%TCL_MINOR.1.gz ln -sf tclsh.1.gz %buildroot%_mandir/man1/tclsh%TCL_MINOR.1.gz
mkdir -p %buildroot%_datadir/tcl mkdir -p %buildroot%_datadir/tcl
install -D %{S:3} -m 644 %buildroot%_rpmmacrodir/macros.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 # We are Tcl, not SQLite
rm -f %buildroot%bindir/sqlite* rm -f %buildroot%bindir/sqlite*