[mesa-libGLw] Fix for RHEL-ish distros

Bill Nottingham notting at fedoraproject.org
Thu Jul 5 14:53:30 UTC 2012


commit c7602cdda6fb8292f63cd33ac9e59f93a59d15a0
Author: Bill Nottingham <notting at redhat.com>
Date:   Thu Jul 5 10:52:22 2012 -0400

    Fix for RHEL-ish distros

 mesa-libGLw.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
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 <rel-eng at lists.fedoraproject.org> - 6.5.1-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list