We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ffab3c commit 50f228bCopy full SHA for 50f228b
1 file changed
rpm/macros.package-notes-srpm
@@ -22,7 +22,8 @@
22
23
# Overall status: 1 if looks like we can insert the note, 0 otherwise
24
# Unfortunately "clang" does not support specs files so the note insertion is disabled when using it.
25
-%_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]}
26
+
27
28
# The linker flags to be passed to the compiler to insert the notes section will
29
# be created by the spec file, to avoid issues with quoting and escaping across
0 commit comments