]> git.pld-linux.org Git - packages/ocaml-curl.git/blobdiff - ocaml-curl.spec
- cleaned up ocaml_opt bcond usage
[packages/ocaml-curl.git] / ocaml-curl.spec
index 383fa81f7a841022b75a48050af143159afaa054..042acebb840f74ef1e07acd74a6be16791b2fbb8 100644 (file)
@@ -49,11 +49,7 @@ developing applications that use %{name}.
 
 %build
 %configure
-%{__make} -j1 all \
-%if %{with ocaml_opt}
-       OCBYTE="ocamlc.opt -g" \
-       OCOPT="ocamlopt.opt -g"
-%endif
+%{__make} -j1 all
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -90,8 +86,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/ocaml/stublibs/dllcurl-helper.so.owner
 %if %{with ocaml_opt}
 %exclude %{_libdir}/ocaml/curl/*.a
-%exclude %{_libdir}/ocaml/curl/*.o
-%exclude %{_libdir}/ocaml/curl/*.cmx
 %exclude %{_libdir}/ocaml/curl/*.cmxa
 %endif
 %exclude %{_libdir}/ocaml/curl/*.mli
@@ -101,8 +95,6 @@ rm -rf $RPM_BUILD_ROOT
 %doc examples/*
 %if %{with ocaml_opt}
 %{_libdir}/ocaml/curl/*.a
-%{_libdir}/ocaml/curl/*.o
-%{_libdir}/ocaml/curl/*.cmx
 %{_libdir}/ocaml/curl/*.cmxa
 %endif
 %{_libdir}/ocaml/curl/*.mli
This page took 0.099647 seconds and 4 git commands to generate.