diff --git a/ocaml-libvirt.spec b/ocaml-libvirt.spec index 938b144..9899a83 100644 --- a/ocaml-libvirt.spec +++ b/ocaml-libvirt.spec @@ -157,7 +157,7 @@ _EOF_ %{_bindir}/* %dir %{_libdir}/ocaml %dir %{_libdir}/ocaml/* -%if %{defined ocaml_native_compiler} +%if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxs %endif %{_libdir}/ocaml/*/*.so @@ -169,7 +169,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