From 2814daf383ecb7f18a06d69364a5645d095306504f1c1cf6cea79f445cf83dc6 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Tue, 23 Nov 2021 17:17:06 +0000 Subject: [PATCH] * (platform) stop using -lieee, removed from glibc-2.27 (bsc#1179615, bsc#1181840). OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tk?expand=0&rev=91 --- tk.changes | 2 ++ tk.spec | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/tk.changes b/tk.changes index fa08b2d..42fdeda 100644 --- a/tk.changes +++ b/tk.changes @@ -109,6 +109,8 @@ Tue Jul 23 06:58:55 UTC 2019 - Reinhard Max Wed Dec 12 16:57:36 UTC 2018 - Reinhard Max - Version 8.6.9: + * (platform) stop using -lieee, removed from glibc-2.27 + (bsc#1179615, bsc#1181840). * (bug)[aa7679] crash using window after master destroyed * (bug)[925262] New option -state for ttk::scale * (bug)[fa8de7] Crash [ttk::checkbutton .x -variable {}] diff --git a/tk.spec b/tk.spec index a077541..d629449 100644 --- a/tk.spec +++ b/tk.spec @@ -121,6 +121,10 @@ make -C unix install install-private-headers \ ln -sf wish%TK_MINOR %buildroot%_prefix/bin/wish ln -sf wish.1.gz %buildroot%_mandir/man1/wish%TK_MINOR.1.gz install -m 0755 %{S:3} %buildroot%_bindir/tkcon +# The information in TK_LIBS is not needed for shared libraries +# and we don't support static linking. +sed -i "/^TK_LIBS=/s/'.*'$//" %buildroot%_libdir/tkConfig.sh +sed -i "/^Libs.private: /s/ .*$//" %buildroot%_libdir/pkgconfig/tk.pc %if "%_lib" == "lib64"