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=27
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user