]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
rpm: Need to use %define outside of the macro files
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 5 Feb 2023 17:02:26 +0000 (11:02 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 5 Feb 2023 17:02:26 +0000 (11:02 -0600)
redhat/freeradius.spec

index 8de141249496ab56f6c75cafb465fb5a20574078..6c4eb3dfbf675cb7af682811085f80df69b500bf 100644 (file)
@@ -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 \