fix incorrect ocaml_native_compiler macro change
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-findlib?expand=0&rev=64
This commit is contained in:
parent
cdbad4677e
commit
69b2c6b1aa
@ -88,7 +88,7 @@ tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp ocam
|
|||||||
-mandir %{_mandir} \
|
-mandir %{_mandir} \
|
||||||
-with-toolbox
|
-with-toolbox
|
||||||
make all
|
make all
|
||||||
%if %{defined ocaml_native_compiler}
|
%if 0%{?ocaml_native_compiler}
|
||||||
make opt
|
make opt
|
||||||
%endif
|
%endif
|
||||||
rm doc/guide-html/TIMESTAMP
|
rm doc/guide-html/TIMESTAMP
|
||||||
@ -130,7 +130,7 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
|
|||||||
#
|
#
|
||||||
%{_libdir}/ocaml/topfind
|
%{_libdir}/ocaml/topfind
|
||||||
%dir %{_libdir}/ocaml/findlib
|
%dir %{_libdir}/ocaml/findlib
|
||||||
%if %{defined ocaml_native_compiler}
|
%if 0%{?ocaml_native_compiler}
|
||||||
%{_libdir}/ocaml/*/*.cmxs
|
%{_libdir}/ocaml/*/*.cmxs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -144,7 +144,7 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
|
|||||||
%dir %{_libdir}/ocaml/num-top
|
%dir %{_libdir}/ocaml/num-top
|
||||||
%{_libdir}/ocaml/findlib/META
|
%{_libdir}/ocaml/findlib/META
|
||||||
%{_libdir}/ocaml/num-top/META
|
%{_libdir}/ocaml/num-top/META
|
||||||
%if %{defined ocaml_native_compiler}
|
%if 0%{?ocaml_native_compiler}
|
||||||
%{_libdir}/ocaml/*/*.a
|
%{_libdir}/ocaml/*/*.a
|
||||||
%{_libdir}/ocaml/*/*.cmxa
|
%{_libdir}/ocaml/*/*.cmxa
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user