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