From c1204cc8ac0179fdafbff9ed983b160e0d371db9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 20 Dec 2022 11:33:24 +0000 Subject: [PATCH] Spec File: Fix rebuilding plugins (better version). --- annobin.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index a370f9a..1d3c25c 100644 --- a/annobin.spec +++ b/annobin.spec @@ -400,7 +400,7 @@ BUILD_FLAGS="-fplugin=%{_tmppath}/tmp_annobin.so" OPTS="$(rpm --eval '%build_cflags %build_ldflags')" %else # Disable the standard annobin plugin so that we do not get conflicts. -OPTS="$(rpm --eval '%undefine _annotated_build %%build_cflags %build_ldflags')" +OPTS="$(rpm --undefine=_annotated_build --eval '%build_cflags %build_ldflags')" %endif # If building on systems with an assembler that does not support the @@ -513,7 +513,7 @@ fi #--------------------------------------------------------------------------------- %changelog -* Tue Dec 20 2022 Nick Clifton - 10.98-2 +* Tue Dec 20 2022 Nick Clifton - 10.98-3 - Spec File: Fix building with plugin_rebuild enabled. * Fri Dec 16 2022 Nick Clifton - 10.98-1