From 3c0bfd6524df1b8a781a512c3819e7df8fb0e34f7ce27226be8705586dd30f87 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 24 Feb 2022 06:56:52 +0000 Subject: [PATCH] Accepting request 957151 from home:gladiac:branches:devel:languages:python - Disable python2 which doesn't build OBS-URL: https://build.opensuse.org/request/show/957151 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pythonfinder?expand=0&rev=15 --- python-pythonfinder.changes | 5 +++++ python-pythonfinder.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-pythonfinder.changes b/python-pythonfinder.changes index ac4bb29..810a008 100644 --- a/python-pythonfinder.changes +++ b/python-pythonfinder.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 23 20:28:44 UTC 2022 - Andreas Schneider + +- Disable python2 which doesn't build + ------------------------------------------------------------------- Mon Aug 3 14:20:03 UTC 2020 - Marketa Calabkova diff --git a/python-pythonfinder.spec b/python-pythonfinder.spec index db5b189..286e02e 100644 --- a/python-pythonfinder.spec +++ b/python-pythonfinder.spec @@ -1,7 +1,7 @@ # # spec file for package python-pythonfinder # -# Copyright (c) 2020 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-pythonfinder Version: 1.2.4 Release: 0 @@ -35,7 +36,7 @@ Requires: python-packaging Requires: python-six Requires: python-vistir >= 0.2.5 Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module attrs}