Don't build with luajit support on ppc64le and s390x

luajit is not supported on those platforms.
This commit is contained in:
Andreas Schneider 2021-12-01 12:18:07 +01:00
parent aac445f20f
commit b5452c9146
1 changed files with 10 additions and 4 deletions

View File

@ -4,6 +4,9 @@
%if 0%{?rhel} && 0%{?rhel} <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7
%global has_luajit 0 %global has_luajit 0
%endif %endif
%ifarch ppc64le s390x
%global has_luajit 0
%endif
# PANIC: unprotected error in call to Lua API (bad light userdata pointer) # PANIC: unprotected error in call to Lua API (bad light userdata pointer)
# Disabling luajit for aarch64 # Disabling luajit for aarch64
# %%ifarch aarch64 # %%ifarch aarch64
@ -30,7 +33,7 @@
Name: efl Name: efl
Version: 1.25.1 Version: 1.25.1
Release: 8%{?dist} Release: 10%{?dist}
Summary: Collection of Enlightenment libraries Summary: Collection of Enlightenment libraries
License: BSD and LGPLv2+ and GPLv2 and zlib License: BSD and LGPLv2+ and GPLv2 and zlib
URL: http://enlightenment.org/ URL: http://enlightenment.org/
@ -83,7 +86,7 @@ BuildRequires: mesa-libgbm-devel libinput-devel
%if 0%{?has_luajit} %if 0%{?has_luajit}
BuildRequires: luajit-devel BuildRequires: luajit-devel
%else %else
BuildRequires: lua-devel BuildRequires: compat-lua-devel
%endif %endif
# For AutoReq cmake-filesystem # For AutoReq cmake-filesystem
BuildRequires: cmake BuildRequires: cmake
@ -245,8 +248,7 @@ Development files for EFL.
-Dbindings=cxx \ -Dbindings=cxx \
-Dlua-interpreter=lua \ -Dlua-interpreter=lua \
%endif %endif
-Dphysics=true \ -Dphysics=true
-Dsystemdunitdir=%{_userunitdir}
%{meson_build} %{meson_build}
%install %install
@ -576,6 +578,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_libdir}/libexactness*.so %{_libdir}/libexactness*.so
%changelog %changelog
* Wed Dec 01 2021 Andreas Schneider <asn@redhat.com> - 1.25.1-10
- Don't build with luajit support on ppc64le and s390x
- Remove unknown systemdunitdir option
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.25.1-8 * Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.25.1-8
- Rebuilt with OpenSSL 3.0.0 - Rebuilt with OpenSSL 3.0.0