rebuild with LUA_COMPAT_5_1 and LUA_COMPAT_5_2 support [release 5.3.5-2mamba;Sat Aug 25 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 06:31:24 +01:00
parent 385b4f25c1
commit ca56f49e60

View File

@ -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 <silvan.calarco@mambasoft.it> 5.3.5-2mamba
- rebuild with LUA_COMPAT_5_1 and LUA_COMPAT_5_2 support
* Tue Jul 10 2018 Automatic Build System <autodist@mambasoft.it> 5.3.5-1mamba
- automatic version update by autodist