[packages/ocaml-libvirt] - fixed install ocaml_opt handling

qboosh qboosh at pld-linux.org
Mon Jul 20 16:59:54 CEST 2015


commit 7a8e18602b4a23dde51359a2728b1cfcf6a707c0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Jul 20 17:01:11 2015 +0200

    - fixed install ocaml_opt handling

 ocaml-libvirt.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec
index 8a22910..4b3c92c 100644
--- a/ocaml-libvirt.spec
+++ b/ocaml-libvirt.spec
@@ -72,7 +72,7 @@ biblioteki.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}/ocaml/{site-lib,stublibs}
 
-%{__make} install%{?with_ocaml_opt:-opt} \
+%{__make} install%{?with_ocaml_opt:-opt}%{!?with_ocaml_opt:-byte} \
 	OCAMLFIND_INSTFLAGS="-destdir $RPM_BUILD_ROOT%{_libdir}/ocaml/site-lib"
 
 %{__mv} $RPM_BUILD_ROOT%{_libdir}/ocaml/{site-lib/libvirt,stublibs}/dllmllibvirt.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-libvirt.git/commitdiff/7a8e18602b4a23dde51359a2728b1cfcf6a707c0



More information about the pld-cvs-commit mailing list