Fix for RHEL-ish distros

This commit is contained in:
Bill Nottingham 2012-07-05 10:52:22 -04:00
parent 0535e33900
commit c7602cdda6

View File

@ -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@lists.fedoraproject.org> - 6.5.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild