X-Git-Url: http://git.pld-linux.org/?p=packages%2Focaml-curl.git;a=blobdiff_plain;f=ocaml-curl.spec;h=042acebb840f74ef1e07acd74a6be16791b2fbb8;hp=383fa81f7a841022b75a48050af143159afaa054;hb=5750614e40eb6c6a0828c126a7f96b9d9ec806ac;hpb=9781d07761f2086352e3b25cb9d814a859b653a1 diff --git a/ocaml-curl.spec b/ocaml-curl.spec index 383fa81..042aceb 100644 --- a/ocaml-curl.spec +++ b/ocaml-curl.spec @@ -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