diff --git a/macros b/macros index e96b4e8..09908ed 100644 --- a/macros +++ b/macros @@ -366,7 +366,7 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end # at a later date. # https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer # Use "%undefine _include_frame_pointers" to disable. -%_include_frame_pointers %{undefined rhel} || 0%{?rhel} >= 11 +%_include_frame_pointers %{undefined rhel} || 0%{?rhel} >= 10 %_frame_pointers_cflags %{expr:0%{?_include_frame_pointers} ? "-fno-omit-frame-pointer" : ""} %_frame_pointers_cflags_x86_64 %{expr:0%{?_include_frame_pointers} ? "-mno-omit-leaf-frame-pointer" : ""} %_frame_pointers_cflags_aarch64 %{expr:0%{?_include_frame_pointers} ? "-mno-omit-leaf-frame-pointer" : ""} diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 39ad195..23a905c 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -9,7 +9,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config Version: %{baserelease} -Release: 1%{?dist} +Release: 1%{?dist}.alma.1 # config.guess, config.sub are GPL-3.0-or-later WITH Autoconf-exception-generic License: GPL-1.0-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later WITH Autoconf-exception-generic AND Boehm-GC URL: https://src.fedoraproject.org/rpms/redhat-rpm-config @@ -259,6 +259,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua %doc buildflags.md %changelog +* Wed Jul 17 2024 Eduard Abdullin - 285-1.alma.1 +- Enable frame pointers for AlmaLinux 10+ + * Mon Jun 24 2024 Troy Dawson - 285-1 - Bump release for June 2024 mass rebuild