From c7602cdda6fb8292f63cd33ac9e59f93a59d15a0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 5 Jul 2012 10:52:22 -0400 Subject: [PATCH] Fix for RHEL-ish distros --- mesa-libGLw.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mesa-libGLw.spec b/mesa-libGLw.spec index 14fdf18..64c5b5a 100644 --- a/mesa-libGLw.spec +++ b/mesa-libGLw.spec @@ -4,7 +4,7 @@ Summary: Xt / Motif OpenGL widgets Name: mesa-libGLw Version: 6.5.1 -Release: 10%{?dist} +Release: 11%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.mesa3d.org @@ -15,7 +15,11 @@ Patch1: mesa-6.5.1-libGLw.patch BuildRequires: libXt-devel BuildRequires: libGL-devel +%if 0%{?rhel} +BuildRequires: openmotif-devel +%else BuildRequires: lesstif-devel +%endif Provides: libGLw # libGLw used to be in Mesa package in RHL 6.x, 7.[0-2], RHEL 2.1 @@ -85,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/GL/GLwMDrawAP.h %changelog +* Thu Jul 05 2012 Bill Nottingham - 6.5.1-11 +- add conditional macros for openmotif/lesstif + * Fri Jan 13 2012 Fedora Release Engineering - 6.5.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild