]> git.pld-linux.org Git - packages/llvm.git/commitdiff
fix ocaml build
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 28 Oct 2016 07:39:22 +0000 (09:39 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 28 Oct 2016 07:39:22 +0000 (09:39 +0200)
%%requires_eq might force BuildRequires

llvm.spec

index a8a5036ddbcf27df23b4511508fcbd44dd91a6e0..f0d3cc4101688594412c0439117e6e467968dfad 100644 (file)
--- a/llvm.spec
+++ b/llvm.spec
@@ -445,7 +445,9 @@ Summary:    OCaml binding for LLVM
 Summary(pl.UTF-8):     Wiązanie OCamla do LLVM-a
 Group:         Libraries
 Requires:      %{name} = %{version}-%{release}
+%if %{with ocaml}
 %requires_eq   ocaml-runtime
+%endif
 
 %description ocaml
 OCaml binding for LLVM.
This page took 0.041027 seconds and 4 git commands to generate.