!2 Fix build with lua 5.4

Merge pull request !2 from ultra_planet/master
This commit is contained in:
openeuler-ci-bot 2020-08-06 14:17:59 +08:00 committed by Gitee
commit e3f51e4f99

View File

@ -1,6 +1,6 @@
Name: elinks Name: elinks
Version: 0.12 Version: 0.12
Release: 1 Release: 2
Summary: A text-mode Web browser Summary: A text-mode Web browser
License: GPLv2 License: GPLv2
URL: http://elinks.or.cz URL: http://elinks.or.cz
@ -57,7 +57,7 @@ autoconf
autoheader autoheader
%build %build
export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -D_GNU_SOURCE" export CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS) -D_GNU_SOURCE -DLUA_COMPAT_5_3"
%configure %{?rescue:--without-gpm} \ %configure %{?rescue:--without-gpm} \
--enable-256-colors --enable-bittorrent --with-gssapi \ --enable-256-colors --enable-bittorrent --with-gssapi \
--with-lua --with-openssl --without-gnutls \ --with-lua --with-openssl --without-gnutls \
@ -110,5 +110,8 @@ exit 0
%{_mandir}/man5/* %{_mandir}/man5/*
%changelog %changelog
* Thu Aug 06 2020 lingsheng<lingsheng@huawei.com> - 0.12-2
- Fix build with lua 5.4
* Wed Nov 13 2019 yangjian<yangjian79@huawei.com> - 0.12-1 * Wed Nov 13 2019 yangjian<yangjian79@huawei.com> - 0.12-1
- Package init - Package init