From bc94afa57d17814d55903c47a6f3518254a6e59aba2e16d50920004038e6e922 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 25 Oct 2012 21:35:59 +0000 Subject: [PATCH] Accepting request 139215 from home:thorstenbr:branches:multimedia:libs "Nothing provides libX11(-devel)" for openSUSE <=12.1, so the package failed to install for earlier openSUSE versions. Patch also restores the OBS build of packages depending on glew. OBS-URL: https://build.opensuse.org/request/show/139215 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/glew?expand=0&rev=32 --- glew.changes | 4 ++++ glew.spec | 2 ++ 2 files changed, 6 insertions(+) diff --git a/glew.changes b/glew.changes index 75c2bf4..de1a717 100644 --- a/glew.changes +++ b/glew.changes @@ -1,3 +1,7 @@ +Wed Oct 24 22:38:00 UTC 2012 - thorstenb@flightgear.org + +- Fixed dependencies for openSUSE <= 12.1 + ------------------------------------------------------------------- Mon Sep 24 22:46:35 UTC 2012 - adam@mizerski.pl diff --git a/glew.spec b/glew.spec index c1a7988..037999a 100644 --- a/glew.spec +++ b/glew.spec @@ -58,8 +58,10 @@ functionality is exposed in a single header file. Summary: Development files for glew Group: Development/Libraries/C and C++ Requires: libGLEW%{so_ver} = %{version} +%if %suse_version >= 1220 # X11/Xlib.h X11/Xutil.h Requires: libX11-devel +%endif # X11/Xmd.h Requires: xorg-x11-proto-devel # Don't require GLU, because there is GLEW_NO_GLU option