fix incorrect ocaml_native_compiler macro change

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-pcre?expand=0&rev=41
This commit is contained in:
Olaf Hering 2017-07-17 14:58:41 +00:00 committed by Git OBS Bridge
parent b99e7f2454
commit 621be7eebe

View File

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