From 673cab06193f21175b687820b3dc687dc617aedb Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 27 Oct 2014 20:37:33 +0000 Subject: [PATCH] Fix compile on RHEL --- cogl.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cogl.spec b/cogl.spec index c6b7ac9..4936e26 100644 --- a/cogl.spec +++ b/cogl.spec @@ -6,7 +6,7 @@ Name: cogl Version: 1.18.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A library for using 3D graphics hardware to draw pretty pictures Group: Development/Libraries @@ -26,18 +26,18 @@ BuildRequires: libXdamage-devel BuildRequires: libXext-devel BuildRequires: libXfixes-devel BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libgbm-devel BuildRequires: pango-devel BuildRequires: pkgconfig BuildRequires: gstreamer1-devel BuildRequires: gstreamer1-plugins-base-devel -%if %{with_wayland} +%if 0%{?with_wayland} BuildRequires: libwayland-server-devel BuildRequires: libwayland-client-devel BuildRequires: libwayland-cursor-devel BuildRequires: libwayland-egl-devel BuildRequires: libxkbcommon-devel -BuildRequires: mesa-libgbm-devel %endif %description @@ -97,8 +97,10 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC" --enable-cogl-gst \ --enable-introspection=yes \ --enable-kms-egl-platform \ +%if 0%{?with_wayland} --enable-wayland-egl-platform \ --enable-wayland-egl-server \ +%endif --enable-xlib-egl-platform \ %{?with_tests:--enable-installed-tests} @@ -149,6 +151,9 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgstcogl.so %endif %changelog +* Mon Oct 27 2014 Richard Hughes - 1.18.2-6 +- Fix compile on RHEL + * Fri Aug 22 2014 Kalev Lember - 1.18.2-5 - Remove lib64 rpaths (#1132876)