From b59598a89dc493328d1f691dedaddfe39896f58d3d980aeafaae0f0f0a45d542 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Tue, 25 Feb 2020 06:35:18 +0000 Subject: [PATCH] - 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 --- python-seqdiag.changes | 1 + python-seqdiag.spec | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/python-seqdiag.changes b/python-seqdiag.changes index de4dc3f..2a0e74f 100644 --- a/python-seqdiag.changes +++ b/python-seqdiag.changes @@ -17,6 +17,7 @@ Tue Feb 25 06:28:27 UTC 2020 - Thomas Bechtold * Fix seqdiag is not universal package * Fix flake8 violations * Stop to use deprecated APIs +- Stop building python2 version. No longer supported upstream ------------------------------------------------------------------- Thu Apr 25 19:53:17 UTC 2019 - Dirk Mueller diff --git a/python-seqdiag.spec b/python-seqdiag.spec index 9de3dc0..5fe74a1 100644 --- a/python-seqdiag.spec +++ b/python-seqdiag.spec @@ -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