]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- renamed opt bcond to ocaml_opt
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2015 10:41:59 +0000 (11:41 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 1 Mar 2015 10:41:59 +0000 (11:41 +0100)
ocaml.spec

index 79963aa3dfa28455b4418c1366cdb611633bc7a9..b308efdf30781adfe4eb8058aae39ce585c377fd 100644 (file)
@@ -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
This page took 0.10007 seconds and 4 git commands to generate.