diff --git a/4diac-forte.spec b/4diac-forte.spec index afc6fff..5214c6a 100644 --- a/4diac-forte.spec +++ b/4diac-forte.spec @@ -1,13 +1,20 @@ # Force out of source build %undefine __cmake_in_source_build -%global with_lua 0 -%global with_luajit 1 %global with_sysfs 1 %global with_opcua 0 %global with_paho 1 %global with_modbus 1 +# LuaJIT is only available on i686, x86_64, and aarch64 +%ifarch i686 x86_64 aarch64 +%global with_lua 0 +%global with_luajit 1 +%else +%global with_lua 1 +%global with_luajit 0 +%endif + Name: 4diac-forte Version: 2.0.1 Release: 1%{?dist} @@ -112,7 +119,7 @@ install -p systemd/4diac-forte-sysconfig %{buildroot}%{_sysconfdir}/sysconfig/4d - Update to version 2.0.1 - Enable MQTT support using Eclipse Paho - Enable Modbus support -- Enable JIT for Lua +- Enable JIT for Lua (i686, x86_64, aarch66 only) - Enable IEC-61131 module * Wed Jan 19 2022 Fedora Release Engineering - 1.12.0-7