Disable luajit on RHEL

This commit is contained in:
Debarshi Ray 2021-04-15 17:58:30 +02:00
parent 6457974259
commit 2c01145490

View File

@ -2,7 +2,7 @@
Name: gegl04
Version: 0.4.30
Release: 1%{?dist}
Release: 2%{?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,9 @@ chrpath --delete %{buildroot}%{_libdir}/gegl-%{apiver}/*.so
%changelog
* Thu Apr 15 2021 Debarshi Ray <rishi@fedoraproject.org> - 0.4.30-2
- Disable luajit on RHEL
* Fri Apr 02 2021 Kalev Lember <klember@redhat.com> - 0.4.30-1
- Update to 0.4.30