commit 86b3d4c597ce334353b29fe850c2b2216b946df8
Author: Jan RÄ™korajski <[email protected]>
Date:   Sun Mar 1 11:41:59 2015 +0100

    - renamed opt bcond to ocaml_opt

 ocaml.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ocaml.spec b/ocaml.spec
index 79963aa..b308efd 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without opt             # build opt
+%bcond_without ocaml_opt               # build opt
 
 %define                module  %{module}
 Summary:       %{module} binding for OCaml
@@ -47,7 +47,7 @@ TEMPLATE biblioteki.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__make} -j1 all %{?with_opt:opt} \
+%{__make} -j1 all %{?with_ocaml_opt:opt} \
        CC="%{__cc} %{rpmcflags} -fPIC"
 
 %install
@@ -81,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/%{module}/*.cm[xi]
 %{_libdir}/ocaml/%{module}/*.cmo
 %{_libdir}/ocaml/%{module}/*.mli
-%if %{with opt}
+%if %{with ocaml_opt}
 %{_libdir}/ocaml/%{module}/*.[ao]
 %{_libdir}/ocaml/%{module}/*.cmxa
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/86b3d4c597ce334353b29fe850c2b2216b946df8

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to