diff --git a/lua.spec b/lua.spec index 925526b..2e0f275 100644 --- a/lua.spec +++ b/lua.spec @@ -3,7 +3,7 @@ Name: lua Version: 5.3.5 -Release: 1mamba +Release: 2mamba Summary: A powerful light-weight and embeddable programming language Group: Applications/Development Vendor: openmamba @@ -75,11 +75,12 @@ This package contains static libraries and header files need for development. %patch3 -p1 %build -##% make linux -%make -j1 -C src \ - CC=%{_host}-gcc \ - MYCFLAGS="$RPM_OPT_FLAGS -fPIC -DLUA_USE_LINUX" \ - MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{libmajver} all +%make MYCFLAGS="$CFLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" MYLDFLAGS="$LDFLAGS -ltermcap" linux +#%make -j1 -C src \ +# CC=%{_host}-gcc \ +# MYCFLAGS="$RPM_OPT_FLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" -DLUA_USE_LINUX" \ +# make MYCFLAGS="$CFLAGS -fPIC MYLDFLAGS="$LDFLAGS" linux +# MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" V=%{libmajver} all %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} @@ -142,6 +143,9 @@ Cflags: -I%{_includedir}/lua%{libmajver}" > \ %doc README doc/*.html doc/*.css doc/*.gif doc/*.png %changelog +* Sat Aug 25 2018 Silvan Calarco 5.3.5-2mamba +- rebuild with LUA_COMPAT_5_1 and LUA_COMPAT_5_2 support + * Tue Jul 10 2018 Automatic Build System 5.3.5-1mamba - automatic version update by autodist