From 83cec4e588297724a3bdf6ccb395d993482c720f Mon Sep 17 00:00:00 2001 From: Jerome Marchand Date: Thu, 18 Feb 2021 18:19:44 +0100 Subject: [PATCH] Don't build with lua on RHEL We don't want to pull luajit in RHEL 9. --- bcc.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/bcc.spec b/bcc.spec index 9e60d94..8dc5e10 100644 --- a/bcc.spec +++ b/bcc.spec @@ -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 %ifarch ppc64 ppc64le s390x %bcond_with lua %else %bcond_without lua %endif +%endif %bcond_with llvm_static @@ -23,7 +28,7 @@ Name: bcc Version: 0.18.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: BPF Compiler Collection (BCC) License: ASL 2.0 URL: https://github.com/iovisor/bcc @@ -195,6 +200,9 @@ rm -rf %{buildroot}%{_datadir}/%{name}/tools/old/ %changelog +* Thu Feb 18 2021 Jerome Marchand - 0.18.0-4 +- Disable lua for RHEL + * Tue Jan 26 2021 Fedora Release Engineering - 0.18.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild