forked from pool/ocaml-cppo
bytecode
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-cppo?expand=0&rev=10
This commit is contained in:
parent
6c67a51b1e
commit
52f8379e8b
@ -70,7 +70,11 @@ make BEST=opt opt ocamlbuild
|
|||||||
%install
|
%install
|
||||||
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
|
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
|
||||||
mkdir -p %{buildroot}%{_bindir} $OCAMLFIND_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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user