From 426bb8182b5eede37b626896777da9b3551f28837324768a9af1381388a7c818 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 17 Jul 2017 14:58:04 +0000 Subject: [PATCH] fix incorrect ocaml_native_compiler macro change OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-libvirt?expand=0&rev=18 --- ocaml-libvirt.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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