From d537b889a25a3c69d011cab773048878ec59e96bf27e8aa4b6dca648536dc689 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Mon, 2 Jan 2023 18:12:11 +0000 Subject: [PATCH] bcond ocaml_calendar_testsuite OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-calendar?expand=0&rev=31 --- ocaml-calendar.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ocaml-calendar.spec b/ocaml-calendar.spec index 86d1aec..e96aeeb 100644 --- a/ocaml-calendar.spec +++ b/ocaml-calendar.spec @@ -16,8 +16,12 @@ # +%bcond_with ocaml_calendar_testsuite %define build_flavor @BUILD_FLAVOR@%nil %if "%build_flavor" == "testsuite" +%if %{without ocaml_calendar_testsuite} +ExclusiveArch: do-not-build +%endif %define nsuffix -testsuite %else %define nsuffix %nil