14
0

- Stop building python2 version. No longer supported upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=11
This commit is contained in:
Thomas Bechtold
2020-02-25 06:35:18 +00:00
committed by Git OBS Bridge
parent 3e068a7006
commit b59598a89d
2 changed files with 3 additions and 5 deletions

View File

@@ -16,12 +16,8 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
Name: python-seqdiag
Version: 2.0.0
Release: 0
@@ -35,6 +31,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-blockdiag >= 1.5.0
Requires: python-setuptools
BuildArch: noarch
%python_subpackages
%description