https://bugzilla.redhat.com/show_bug.cgi?id=2143050
Petr Menšík pemensik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pemensik@redhat.com
--- Comment #3 from Petr Menšík pemensik@redhat.com --- I think variables passed to build must include also LDFLAGS: CFLAGS="%{optflags} -fPIC" LDFLAGS="$LDFLAGS -shared -fPIC"
And I think %check should also include unit test present in sources:
%check export LUA_CPATH=%{buildroot}%{lua_libdir}/zlib.so lua -e 'local zlib = require "zlib"; print(zlib.version());' lua test.lua
Otherwise it seems ready.