diff --git a/ocaml-calendar.spec b/ocaml-calendar.spec index 5e0c3c5..4cb291e 100644 --- a/ocaml-calendar.spec +++ b/ocaml-calendar.spec @@ -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