Don't build with lua on RHEL

We don't want to pull luajit in RHEL 9.
This commit is contained in:
Jerome Marchand 2021-02-18 18:19:44 +01:00
parent c67067da05
commit 83cec4e588

View File

@ -1,9 +1,14 @@
# We don't want to bring luajit in RHEL
%if 0%{?rhel} > 0
%bcond_with lua
%else
# luajit is not available for some architectures # luajit is not available for some architectures
%ifarch ppc64 ppc64le s390x %ifarch ppc64 ppc64le s390x
%bcond_with lua %bcond_with lua
%else %else
%bcond_without lua %bcond_without lua
%endif %endif
%endif
%bcond_with llvm_static %bcond_with llvm_static
@ -23,7 +28,7 @@
Name: bcc Name: bcc
Version: 0.18.0 Version: 0.18.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: BPF Compiler Collection (BCC) Summary: BPF Compiler Collection (BCC)
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/iovisor/bcc URL: https://github.com/iovisor/bcc
@ -195,6 +200,9 @@ rm -rf %{buildroot}%{_datadir}/%{name}/tools/old/
%changelog %changelog
* Thu Feb 18 2021 Jerome Marchand <jmarchan@redhat.com> - 0.18.0-4
- Disable lua for RHEL
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-3 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild