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:
Olaf Hering 2017-07-17 14:57:29 +00:00 committed by Git OBS Bridge
parent cdbad4677e
commit 69b2c6b1aa

View File

@ -88,7 +88,7 @@ tools/extract_args/extract_args -o src/findlib/ocaml_args.ml ocamlc ocamlcp ocam
-mandir %{_mandir} \
-with-toolbox
make all
%if %{defined ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
make opt
%endif
rm doc/guide-html/TIMESTAMP
@ -130,7 +130,7 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
#
%{_libdir}/ocaml/topfind
%dir %{_libdir}/ocaml/findlib
%if %{defined ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%endif
@ -144,7 +144,7 @@ rm -rfv $RPM_BUILD_ROOT%{_libdir}/ocaml/ocamlbuild
%dir %{_libdir}/ocaml/num-top
%{_libdir}/ocaml/findlib/META
%{_libdir}/ocaml/num-top/META
%if %{defined ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.a
%{_libdir}/ocaml/*/*.cmxa
%endif