From 55197dbb298e7fab735efa7e17c2a8c53dc38380 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 06:31:53 +0200 Subject: Merging upstream version 0.13. Signed-off-by: Daniel Baumann --- rpm/macros.package-notes-srpm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rpm/macros.package-notes-srpm') diff --git a/rpm/macros.package-notes-srpm b/rpm/macros.package-notes-srpm index a15d98c..ca9da31 100644 --- a/rpm/macros.package-notes-srpm +++ b/rpm/macros.package-notes-srpm @@ -22,7 +22,8 @@ # Overall status: 1 if looks like we can insert the note, 0 otherwise # Unfortunately "clang" does not support specs files so the note insertion is disabled when using it. -%_package_note_status %[0%{?_package_note_file:1} && 0%{?name:1} && "%_target_cpu" != "noarch" && "%{toolchain}" != "clang" ? 1 : 0] +%_package_note_status %{!?_package_note_flags:0}%{?_package_note_flags:%[0%{?_package_note_file:1} && 0%{?name:1} && "%_target_cpu" != "noarch" && "%{toolchain}" != "clang" ? 1 : 0]} + # The linker flags to be passed to the compiler to insert the notes section will # be created by the spec file, to avoid issues with quoting and escaping across -- cgit v1.2.3