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