From: Arran Cudbard-Bell Date: Sun, 5 Feb 2023 17:02:26 +0000 (-0600) Subject: rpm: Need to use %define outside of the macro files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55b0e18457f2b7d0cf16ddf682c4b3f32cfb87a9;p=thirdparty%2Ffreeradius-server.git rpm: Need to use %define outside of the macro files --- diff --git a/redhat/freeradius.spec b/redhat/freeradius.spec index 8de14124949..6c4eb3dfbf6 100644 --- a/redhat/freeradius.spec +++ b/redhat/freeradius.spec @@ -574,7 +574,7 @@ export LDFLAGS="-Wl,--build-id" export RADIUSD_VERSION_RELEASE="%{release}" %endif -%autoconf_with() %{expand:%%{?with_%{1}:--with-%{1}}%%{!?with_%{1}:--without-%{1}}} +%define autoconf_with() %{expand:%%{?with_%{1}:--with-%{1}}%%{!?with_%{1}:--without-%{1}}} %configure \ --libdir=%{_libdir}/freeradius \