fix incorrect ocaml_native_compiler macro change

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-calendar?expand=0&rev=14
This commit is contained in:
Olaf Hering 2017-07-17 14:56:17 +00:00 committed by Git OBS Bridge
parent 7ca356ecc4
commit e8967f78fa

View File

@ -77,7 +77,7 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%doc CHANGES README TODO LGPL COPYING
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if %{defined ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.cmxs
%endif
@ -86,7 +86,7 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
%doc CHANGES README TODO LGPL COPYING doc/*
%dir %{_libdir}/ocaml
%dir %{_libdir}/ocaml/*
%if %{defined ocaml_native_compiler}
%if 0%{?ocaml_native_compiler}
%{_libdir}/ocaml/*/*.a
%{_libdir}/ocaml/*/*.cmx
%{_libdir}/ocaml/*/*.cmxa