From 2d1d380b155fdee272e839cd1a0b60325d106547811c65b86cc45776e8f360a6 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Thu, 11 Aug 2022 09:30:38 +0000 Subject: [PATCH] - Disable Python2 build to fix 15.3. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyannotate?expand=0&rev=15 --- python-pyannotate.changes | 5 +++++ python-pyannotate.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-pyannotate.changes b/python-pyannotate.changes index cb79076..d4076bb 100644 --- a/python-pyannotate.changes +++ b/python-pyannotate.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 11 09:30:09 UTC 2022 - Sebastian Wagner + +- Disable Python2 build to fix 15.3. + ------------------------------------------------------------------- Sun Jan 24 09:53:37 UTC 2021 - Sebastian Wagner diff --git a/python-pyannotate.spec b/python-pyannotate.spec index 93f9db7..d2f0b59 100644 --- a/python-pyannotate.spec +++ b/python-pyannotate.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyannotate # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pyannotate Version: 1.2.0 Release: 0 @@ -32,7 +33,7 @@ Requires: python-mypy_extensions Requires: python-six >= 1.11.0 Requires: python-typing Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module mypy_extensions}