From b7098f1ef6f2dfbfaaf4eb3d98b1f09dd0446eb1 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Fri, 15 Jun 2007 16:47:12 +0000 Subject: - add ocaml_sitelib macros --- macros.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/macros.in b/macros.in index 5591052..2b79930 100644 --- a/macros.in +++ b/macros.in @@ -618,6 +618,13 @@ python -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_ BuildRequires: python %{-d:python-devel} \ Requires: python >= %minver, python < %maxver + +#------------------------------------------------------------------------------ +# Ocaml macro +# + +%ocaml_sitelib %(if [ -x /usr/bin/ocamlc ]; then ocamlc -where;fi)/site-lib + #------------------------------------------------------------------------------ # Redefine RPM sections to allow jumping over them # -- cgit v1.2.1