summaryrefslogtreecommitdiffstats
path: root/rpm/macros.package-notes-srpm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 04:31:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 04:31:53 +0000
commitd259936cc86decfe9be0e8ff07dbaa2fce19b9e5 (patch)
tree05d3e6b618d695c0bd62238359492003c0f093e7 /rpm/macros.package-notes-srpm
parentReleasing progress-linux version 0.12-0.0~progress7.99u1. (diff)
downloadpackage-notes-d259936cc86decfe9be0e8ff07dbaa2fce19b9e5.tar.xz
package-notes-d259936cc86decfe9be0e8ff07dbaa2fce19b9e5.zip
Merging upstream version 0.13.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--rpm/macros.package-notes-srpm3
1 files changed, 2 insertions, 1 deletions
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