aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in7
1 files changed, 7 insertions, 0 deletions
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
#