Blame SOURCES/macros.lua-srpm

ebfe65
%lua_version %{lua: print(string.sub(_VERSION, 5))}
ebfe65
ebfe65
%lua_requires \
ebfe65
%if 0%{?fedora} || 0%{?rhel} >= 7 \
ebfe65
Requires: lua(abi) = %{lua_version} \
ebfe65
%else \
ebfe65
Requires: lua >= %{lua_version} \
ebfe65
Requires: lua < %{lua: os.setlocale('C'); print(string.sub(_VERSION, 5) + 0.1)} \
ebfe65
%endif \
ebfe65
%{nil}