Sync from SUSE:SLFO:Main elinks revision 7e2d061991ca55d7f8e3b656b7a990c7

This commit is contained in:
Adrian Schröter 2024-09-30 10:54:32 +02:00
parent d75e76f83e
commit 5b11e8f091
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 10 20:28:14 UTC 2024 - Gustavo Pichorim Boiko <gboiko@suse.com>
- Fix building on ppc64le (by using lua instead of luajit there)
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jan 14 02:31:22 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me> Sun Jan 14 02:31:22 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
%bcond_without js %bcond_without js
%else %else
@ -50,7 +51,11 @@ BuildRequires: pkg-config
BuildRequires: ruby-devel BuildRequires: ruby-devel
BuildRequires: tre-devel BuildRequires: tre-devel
BuildRequires: zlib-devel BuildRequires: zlib-devel
%ifarch ppc64le
BuildRequires: pkgconfig(lua)
%else
BuildRequires: pkgconfig(luajit) BuildRequires: pkgconfig(luajit)
%endif
Provides: web_browser Provides: web_browser
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%perl_requires %perl_requires
@ -102,7 +107,11 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
--without-guile \ --without-guile \
--with-perl \ --with-perl \
--without-python \ --without-python \
%ifarch ppc64le
--with-luapkg=lua \
%else
--with-luapkg=luajit \ --with-luapkg=luajit \
%endif
--with-ruby \ --with-ruby \
--without-gnutls \ --without-gnutls \
--without-x --without-x