diff --git a/lua-posix.spec b/lua-posix.spec index 288ce46..67e7f2f 100644 --- a/lua-posix.spec +++ b/lua-posix.spec @@ -15,7 +15,7 @@ Source0: https://github.com/luaposix/luaposix/archive/%{commit}/%{name}-% Patch0: luaposix-lua-5.2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: lua >= %{luaver}, lua-devel >= %{luaver} -BuildRequires: ncurses-devel +BuildRequires: ncurses-devel, autoconf, automake, libtool Requires: lua >= %{luaver} %description @@ -25,6 +25,7 @@ to Lua programs. %prep %setup -q -n luaposix-%{commit} %patch0 -p1 -b .lua-52 +autoreconf -vif %build %configure --libdir=%{lualibdir} --datadir=/%{luapkgdir}