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