From 734bf9792765f16a88d7b1a0e5bf2d7b7a159b5e Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 4 Jun 2014 14:44:03 -0600 Subject: [PATCH] Lua 5.1 on rhel 7 and lower --- lua-posix.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua-posix.spec b/lua-posix.spec index 181e557..4273073 100644 --- a/lua-posix.spec +++ b/lua-posix.spec @@ -1,4 +1,8 @@ +%if 0%{?rhel} <= 7 +%define luaver 5.1 +%else %define luaver 5.2 +%endif %define lualibdir %{_libdir}/lua/%{luaver} %define luapkgdir %{_datadir}/lua/%{luaver} %global commit 58016bbba40b063e8a98a7e9f14acfcd46f103d4