Disable luajit on RHEL

Resolves: #1950052
This commit is contained in:
Debarshi Ray 2021-04-15 17:58:30 +02:00
parent 8adf733f33
commit 78ad8fb4a7

View File

@ -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 <rishi@fedoraproject.org> - 0.4.30-3
- Disable luajit on RHEL
Resolves: #1950052
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.30-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937