https://bugzilla.redhat.com/show_bug.cgi?id=2143050
Petr Menšík <pemensik(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pemensik(a)redhat.com
--- Comment #3 from Petr Menšík <pemensik(a)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.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2143050