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"