From 619d6a22ccc03f55ea952fd184beaf0055286c6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 18 Mar 2021 00:02:16 +0100 Subject: [PATCH] - filter out native compiler deps on non-native builds - rel 3 --- ocaml.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ocaml.spec b/ocaml.spec index 6b2462f..76e4105 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -14,7 +14,7 @@ Summary: The Objective Caml compiler and programming environment Summary(pl.UTF-8): Kompilator OCamla (Objective Caml) oraz środowisko programistyczne Name: ocaml Version: 4.12.0 -Release: 2 +Release: 3 Epoch: 1 License: QPL v1.0 with linking exception (compiler), LGPL v2 with linking exception (library) Group: Development/Languages @@ -43,6 +43,10 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define specflags -fno-strict-aliasing +%if %{without ocaml_opt} +%define _noautoreq Backend_intf Inlining_decision_intf Simplify_boxed_integer_ops_intf +%endif + %description Objective Caml is a high-level, strongly-typed, functional and object-oriented programming language from the ML family of languages. -- 2.43.0