SHA256
1
0
forked from pool/ocaml-cppo
Olaf Hering 2016-05-25 11:20:47 +00:00 committed by Git OBS Bridge
parent 6c67a51b1e
commit 52f8379e8b

View File

@ -70,7 +70,11 @@ make BEST=opt opt ocamlbuild
%install
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
mkdir -p %{buildroot}%{_bindir} $OCAMLFIND_DESTDIR
make install BINDIR="%{buildroot}%{_bindir}"
make BEST=byte install BINDIR="%{buildroot}%{_bindir}"
%if %{ocaml_native_compiler}
find "%{buildroot}" -name META -print -delete
make BEST=opt install BINDIR="%{buildroot}%{_bindir}"
%endif
%files
%defattr(-,root,root)