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"