From b3e875a1ad2f4562322dab902cf439f525bc5e1ac88f9ca9eb5e76283166f9d0 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 2 Nov 2020 10:06:30 +0000 Subject: [PATCH] Accepting request 841310 from home:dimstar:Factory - Fix build with RPM 4.16: error: bare words are no longer supported, please use "...": lib64 == lib64. OBS-URL: https://build.opensuse.org/request/show/841310 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tk?expand=0&rev=76 --- tk.changes | 6 ++++++ tk.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tk.changes b/tk.changes index 740374c..b8ec5ef 100644 --- a/tk.changes +++ b/tk.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 12 15:17:51 UTC 2020 - Dominique Leuenberger + +- Fix build with RPM 4.16: error: bare words are no longer + supported, please use "...": lib64 == lib64. + ------------------------------------------------------------------- Tue Dec 3 13:54:10 UTC 2019 - Reinhard Max diff --git a/tk.spec b/tk.spec index 6f37e19..fdaa898 100644 --- a/tk.spec +++ b/tk.spec @@ -1,7 +1,7 @@ # # spec file for package tk # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -122,7 +122,7 @@ ln -sf wish%TK_MINOR %buildroot%_prefix/bin/wish ln -sf wish%TK_MINOR.n.gz %buildroot%_mandir/mann/wish.n.gz install -m 0755 %{S:3} %buildroot%_bindir/tkcon -%if %_lib == lib64 +%if "%_lib" == "lib64" %post test -L /usr/lib/tk%TK_MINOR && rm -f /usr/lib/tk%TK_MINOR