forked from pool/python-libcst
Fix switching off tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=28
This commit is contained in:
@@ -17,13 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%if "%{flavor}" == "test"
|
# %%if "%%{flavor}" == "test"
|
||||||
%define psuffix -test
|
# %%define psuffix -test
|
||||||
%bcond_without test
|
# %%bcond_without test
|
||||||
%else
|
# %%else
|
||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
# %%endif
|
||||||
%define modname libcst
|
%define modname libcst
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-libcst%{psuffix}
|
Name: python-libcst%{psuffix}
|
||||||
|
|||||||
Reference in New Issue
Block a user