diff --git a/python-osc-tiny.spec b/python-osc-tiny.spec index f8a8389..fd4e4d8 100644 --- a/python-osc-tiny.spec +++ b/python-osc-tiny.spec @@ -17,7 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} + +%if 0%{?suse_version} > 1500 %bcond_with python2 +%else +%bcond_without python2 +%endif Name: python-osc-tiny Version: 0.2.2 Release: 0