From 48f689767f5e8b5bf7ad731084f7185581ca7473a7c241fbbb0a234a43ed6f07 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 12 Oct 2020 13:23:47 +0000 Subject: [PATCH] Accepting request 840417 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/840417 OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=123 --- tcl.changes | 6 ++++++ tcl.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tcl.changes b/tcl.changes index 140e6b3..b4e27e0 100644 --- a/tcl.changes +++ b/tcl.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 9 11:25:35 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:40:02 UTC 2019 - Reinhard Max diff --git a/tcl.spec b/tcl.spec index e928a4e..02d8f3f 100644 --- a/tcl.spec +++ b/tcl.spec @@ -1,7 +1,7 @@ # # spec file for package tcl # -# 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 @@ -153,7 +153,7 @@ ln -sf tclsh%TCL_MINOR %buildroot%_prefix/bin/tclsh mkdir -p %buildroot%_datadir/tcl install -D %{S:3} -m 644 %buildroot/etc/rpm/macros.tcl -%if %_lib == lib64 +%if "%_lib" == "lib64" %post test -L /usr/lib/tcl%TCL_MINOR && /bin/rm -f /usr/lib/tcl%TCL_MINOR exit 0