diff --git a/ocaml-lablgl.spec b/ocaml-lablgl.spec index dbfb0cb..6f648da 100644 --- a/ocaml-lablgl.spec +++ b/ocaml-lablgl.spec @@ -1,15 +1,15 @@ +%global opt %(test -x %{_bindir}/ocamlopt && echo 1 || echo 0) + Name: ocaml-lablgl Epoch: 1 Version: 1.05 -Release: 15%{?dist} +Release: 16%{?dist} Summary: LablGL is an OpenGL interface for Objective Caml License: BSD URL: http://forge.ocamlcore.org/projects/lablgl/ Source0: https://forge.ocamlcore.org/frs/download.php/1254/lablgl-%{version}.tar.gz -# XXX This could be fixed with some changes to the build system: -ExclusiveArch: %{ocaml_native_compiler} BuildRequires: freeglut-devel BuildRequires: ocaml >= 3.12.1-3 @@ -46,8 +46,13 @@ developing applications that use %{name}. %setup -q -n lablgl-%{version} cat > Makefile.config < - 1:1.05-16 +- Fix bytecode builds (patch supplied by Rafael Fonseca). + * Wed Jun 24 2015 Richard W.M. Jones - 1:1.05-15 - ocaml-4.02.2 final rebuild.