From 78ad8fb4a718e131f3bbdda63c2b7223e2500a59 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 15 Apr 2021 17:58:30 +0200 Subject: [PATCH] Disable luajit on RHEL Resolves: #1950052 --- gegl04.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gegl04.spec b/gegl04.spec index 1433f39..005e9fb 100644 --- a/gegl04.spec +++ b/gegl04.spec @@ -2,7 +2,7 @@ Name: gegl04 Version: 0.4.30 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Graph based image processing framework # The binary is under the GPL, while the libs are under LGPL. @@ -40,12 +40,14 @@ BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.6 BuildRequires: pkgconfig(libv4l2) >= 1.0.1 BuildRequires: pkgconfig(libwebp) >= 0.5.0 BuildRequires: pkgconfig(lua) >= 5.1.0 + +%if ! 0%{?rhel} %ifarch %{arm} %{ix86} x86_64 BuildRequires: pkgconfig(luajit) >= 2.0.4 %endif -%if ! 0%{?rhel} BuildRequires: pkgconfig(OpenEXR) >= 2.5.4 %endif + BuildRequires: pkgconfig(pango) >= 1.38.0 BuildRequires: pkgconfig(pangocairo) >= 1.38.0 BuildRequires: pkgconfig(pygobject-3.0) >= 3.2 @@ -140,10 +142,13 @@ chrpath --delete %{buildroot}%{_libdir}/gegl-%{apiver}/*.so %{_libdir}/libgegl-npd-%{apiver}.so %{_libdir}/libgegl-sc-%{apiver}.so %{_libdir}/girepository-1.0/Gegl-%{apiver}.typelib + +%if ! 0%{?rhel} %ifarch %{arm} %{ix86} x86_64 %dir %{_datadir}/gegl-%{apiver}/ %{_datadir}/gegl-%{apiver}/lua/ %endif +%endif %files devel %{_includedir}/gegl-%{apiver}/ @@ -166,6 +171,10 @@ chrpath --delete %{buildroot}%{_libdir}/gegl-%{apiver}/*.so %changelog +* Fri Apr 16 2021 Debarshi Ray - 0.4.30-3 +- Disable luajit on RHEL +Resolves: #1950052 + * Thu Apr 15 2021 Mohan Boddu - 0.4.30-2 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937