From 07073592de1998f0cd4eb9ed7b66ffc3efcc819883b119ccaf2de56c51c166d6 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 17 Jul 2017 14:57:11 +0000 Subject: [PATCH] fix incorrect ocaml_native_compiler macro change OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-curses?expand=0&rev=20 --- ocaml-curses.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocaml-curses.spec b/ocaml-curses.spec index 5a3dd67..2274023 100644 --- a/ocaml-curses.spec +++ b/ocaml-curses.spec @@ -116,7 +116,7 @@ _EOF_ %doc COPYING /etc/ld.so.conf.d/*.conf %dir %{_libdir}/ocaml/* -%if %{defined ocaml_native_compiler} +%if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmxs %endif %{_libdir}/ocaml/*/*.so @@ -127,7 +127,7 @@ _EOF_ %{oasis_docdir_html} %dir %{_libdir}/ocaml/* %{_libdir}/ocaml/*/*.a -%if %{defined ocaml_native_compiler} +%if 0%{?ocaml_native_compiler} %{_libdir}/ocaml/*/*.cmx %{_libdir}/ocaml/*/*.cmxa %endif