diff --git a/_multibuild b/_multibuild
index 9bbad45..e83a16c 100644
--- a/_multibuild
+++ b/_multibuild
@@ -1,6 +1,5 @@
luajit
-lua51
lua53
lua54
diff --git a/lua-toluapp.changes b/lua-toluapp.changes
index 8d155b5..78f085d 100644
--- a/lua-toluapp.changes
+++ b/lua-toluapp.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Oct 24 14:51:12 UTC 2025 - Matej Cepl
+
+- Switch off building lua51 build of the package.
+
-------------------------------------------------------------------
Mon Oct 13 14:10:09 UTC 2025 - Matej Cepl
diff --git a/lua-toluapp.spec b/lua-toluapp.spec
index 251504c..7cd867d 100644
--- a/lua-toluapp.spec
+++ b/lua-toluapp.spec
@@ -24,12 +24,9 @@
%else
%define lua_value %(echo "%{flavor}" |sed -e 's:lua::')
%endif
-%if "%{flavor}" == "lua51" || "%{flavor}" == "luajit"
+%if "%{flavor}" == "luajit"
%define lua_suffix 5_1
%endif
-%if "%{flavor}" == "lua52"
-%define lua_suffix 5_2
-%endif
%if "%{flavor}" == "lua53"
%define lua_suffix 5_3
%endif