diff --git a/macros b/macros index 5df296d32580672cef116fb90c7b47d44fbab5c7..f32bdb92e77e4806ad70ad468af1efefdb80c363 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 d9dfbbdf1900f78190043398e8f130720dfac23b..2777d44cfb35d1063ebcef06ac58bd78c4ff89eb 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