From 3dbfe8a83d53aeab269f5da3e1f047c0b0a0d65f2cc61925d23067409720b7a3 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 22 Jul 2024 11:49:54 +0000 Subject: [PATCH] Fix switching off tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=27 --- _multibuild | 3 --- python-libcst.spec | 10 +++++----- 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 _multibuild diff --git a/_multibuild b/_multibuild deleted file mode 100644 index fcc7b97..0000000 --- a/_multibuild +++ /dev/null @@ -1,3 +0,0 @@ - - test - diff --git a/python-libcst.spec b/python-libcst.spec index 5b41260..e8033b9 100644 --- a/python-libcst.spec +++ b/python-libcst.spec @@ -17,13 +17,13 @@ %global flavor @BUILD_FLAVOR@%{nil} -# %%if "%%{flavor}" == "test" -# %%define psuffix -test -# %%bcond_without test -# %%else +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else %define psuffix %{nil} %bcond_with test -# %%endif +%endif %define modname libcst %{?sle15_python_module_pythons} Name: python-libcst%{psuffix}