From: Peter van Dijk Date: Wed, 24 Oct 2018 11:48:39 +0000 (+0200) Subject: nit X-Git-Tag: dnsdist-1.3.3~22^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92aa72d1de259deb4d7983a7b561182754bc3843;p=thirdparty%2Fpdns.git nit --- diff --git a/builder-support/specs/pdns.spec b/builder-support/specs/pdns.spec index bd6dd147b2..067a6d16ca 100644 --- a/builder-support/specs/pdns.spec +++ b/builder-support/specs/pdns.spec @@ -39,8 +39,10 @@ BuildRequires: boost148-program-options Requires(pre): shadow-utils %ifarch aarch64 BuildRequires: lua-devel +%define lua_implementation lua %else BuildRequires: luajit-devel +%define lua_implementation luajit %endif BuildRequires: libsodium-devel BuildRequires: bison @@ -206,11 +208,7 @@ export CPPFLAGS="-DLDAP_DEPRECATED" --disable-dependency-tracking \ --disable-silent-rules \ --with-modules='' \ -%ifarch aarch64 - --with-lua=lua \ -%else - --with-lua=luajit \ -%endif + --with-lua=%{lua_implementation} \ --with-dynmodules='%{backends} random' \ --enable-tools \ --enable-libsodium \