From 791dc804c36dbdc0a0886d437d3190bee655a6c6 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 16 Aug 2022 10:31:14 -0400 Subject: [PATCH] Fix regression due to typo in _package_note_status - Fixes RHBZ#2118722 --- macros.package-notes-srpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.package-notes-srpm b/macros.package-notes-srpm index e4ef9d8..28cefec 100644 --- a/macros.package-notes-srpm +++ b/macros.package-notes-srpm @@ -19,7 +19,7 @@ %_generate_package_note_file %{nil} # Overall status: 1 if looks like we can insert the note, 0 otherwise -%_package_note_status %[0%{?_package_note_file:1} && 0%{?name:1} && "%_target_cpu" != "noarch" && 1 : 0] +%_package_note_status %[0%{?_package_note_file:1} && 0%{?name:1} && "%_target_cpu" != "noarch" ? 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