diff --git a/lua-filesystem.spec b/lua-filesystem.spec index 7deecef..c8db330 100644 --- a/lua-filesystem.spec +++ b/lua-filesystem.spec @@ -12,7 +12,7 @@ Name: lua-filesystem Version: 1.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: File System Library for the Lua Programming Language %global gitowner keplerproject @@ -50,6 +50,9 @@ structure and file attributes.} %if %{with compat} %package compat Summary: File System Library for the Lua Programming Language 5.1 +%if 0%{?fedora} < 33 && 0%{?rhel} < 9 +Requires: lua(abi) = %{lua_compat_version} +%endif %description compat %{_description} %endif @@ -99,6 +102,9 @@ LUA_CPATH=%{buildroot}%{lua_libdir}/\?.so lua tests/test.lua %endif %changelog +* Wed Jan 27 2021 Michel Alexandre Salim - 1.8.0-2 +- compat: Add Requires on lua(abi) for older releases + * Wed Jan 27 2021 Michel Alexandre Salim - 1.8.0-1 - Update to 1.8.0 - Simplify spec to use new Lua macros (thanks robert@fp.o)