From 7cc0e74199c22b7c7eedf5bbee2a4444d25f1b28b0a271d4f4f9646440a452f4 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Sun, 17 Jan 2021 08:39:57 +0000 Subject: [PATCH] fix build with rpm 4.16 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/heaptrack?expand=0&rev=26 --- heaptrack.changes | 5 +++++ heaptrack.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/heaptrack.changes b/heaptrack.changes index 3503aee..34b4d90 100644 --- a/heaptrack.changes +++ b/heaptrack.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 17 08:39:36 UTC 2021 - Christophe Giboudeaux + +- Add quotes to text comparison to fix build with rpm 4.16. + ------------------------------------------------------------------- Sat Sep 5 16:11:52 UTC 2020 - Klaas Freitag diff --git a/heaptrack.spec b/heaptrack.spec index 964e411..db2db5f 100644 --- a/heaptrack.spec +++ b/heaptrack.spec @@ -1,7 +1,7 @@ # # spec file for package heaptrack # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -80,7 +80,7 @@ A Qt5/KF5 based GUI for Heaptrack. sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt %build -%if %{_lib} == lib64 +%if "%{_lib}" == "lib64" extra_opts="-DLIB_SUFFIX=64" %endif