fix incorrect ocaml_native_compiler macro change

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-curses?expand=0&rev=20
This commit is contained in:
Olaf Hering 2017-07-17 14:57:11 +00:00 committed by Git OBS Bridge
parent 8289014758
commit 07073592de

View File

@ -116,7 +116,7 @@ _EOF_
%doc COPYING
/etc/ld.so.conf.d/*.conf
%dir %{_libdir}/ocaml/*
%if %{defined ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%endif
%{_libdir}/ocaml/*/*.so
@ -127,7 +127,7 @@ _EOF_
%{oasis_docdir_html}
%dir %{_libdir}/ocaml/*
%{_libdir}/ocaml/*/*.a
%if %{defined ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxa
%endif