bcond ocaml_calendar_testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ocaml/ocaml-calendar?expand=0&rev=31
This commit is contained in:
Olaf Hering 2023-01-02 18:12:11 +00:00 committed by Git OBS Bridge
parent 5857475372
commit d537b889a2

View File

@ -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