From 9f481a6db023bd6114a411b46e3d1cc07fa7030c Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Thu, 21 Aug 2025 17:16:18 +0000 Subject: [PATCH] Undefine _include_frame_pointers for riscv64 --- config.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config.yaml diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..9e00f15 --- /dev/null +++ b/config.yaml @@ -0,0 +1,23 @@ +actions: + - replace: + - target: "spec" + find: | + Name: python-%{modname} + replace: | + %ifarch riscv64 + # to avoid compile time errors + %undefine _include_frame_pointers + %endif + + Name: python-%{modname} + count: 1 + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Andrew Lukoshko" + email: "alukoshko@almalinux.org" + line: + - "Undefine _include_frame_pointers for riscv64"