aboutsummaryrefslogtreecommitdiffstats
path: root/macros.in
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-06-15 16:47:12 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-06-15 16:47:12 +0000
commitb7098f1ef6f2dfbfaaf4eb3d98b1f09dd0446eb1 (patch)
tree6535e0860b6e8aa6db3d668b0ff104707fc4303a /macros.in
parenteb3057d43d0471d686fb2167268e1ac9372f6e67 (diff)
downloadrpm-setup-b7098f1ef6f2dfbfaaf4eb3d98b1f09dd0446eb1.tar
rpm-setup-b7098f1ef6f2dfbfaaf4eb3d98b1f09dd0446eb1.tar.gz
rpm-setup-b7098f1ef6f2dfbfaaf4eb3d98b1f09dd0446eb1.tar.bz2
rpm-setup-b7098f1ef6f2dfbfaaf4eb3d98b1f09dd0446eb1.tar.xz
rpm-setup-b7098f1ef6f2dfbfaaf4eb3d98b1f09dd0446eb1.zip
- add ocaml_sitelib macros
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
#