forked from pool/python-osc-tiny
Make Python2 conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-osc-tiny?expand=0&rev=17
This commit is contained in:
@@ -17,7 +17,12 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%bcond_with python2
|
%bcond_with python2
|
||||||
|
%else
|
||||||
|
%bcond_without python2
|
||||||
|
%endif
|
||||||
Name: python-osc-tiny
|
Name: python-osc-tiny
|
||||||
Version: 0.2.2
|
Version: 0.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Reference in New Issue
Block a user