From fc906c0adee8e85cf40ca5f865cccc1f8d49aa3c Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Wed, 16 Mar 2022 16:33:12 +0800 Subject: [PATCH] fix __cflags_arch_x86_64 Signed-off-by: Chunmei Xu --- macros | 2 +- system-rpm-config.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/macros b/macros index 5df296d..f32bdb9 100644 --- a/macros +++ b/macros @@ -129,7 +129,7 @@ print(result) # Architecture-specific support. Internal. Do not use directly. -%__cflags_arch_x86_64 "-march=x86-64-v2" +%__cflags_arch_x86_64 %["-march=x86-64-v2"] #============================================================================== # ---- configure and makeinstall. diff --git a/system-rpm-config.spec b/system-rpm-config.spec index d9dfbbd..2777d44 100644 --- a/system-rpm-config.spec +++ b/system-rpm-config.spec @@ -1,4 +1,4 @@ -%define anolis_release 3 +%define anolis_release 4 Summary: Anolis OS specific rpm configuration files Name: system-rpm-config Version: 23 @@ -158,6 +158,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/anolis/srpm forge.lua %license MulanPSL %changelog +* Wed Mar 16 2022 Chunmei Xu - 23.4 +- fix __cflags_arch_x86_64 + * Thu Mar 15 2022 Chunmei Xu - 23.3 - set rust-srpm-macros as requires -- Gitee