From f0c4d124d7a0c270dcb04ee22c81704a13286d3131891dabadd21150ebafc9f5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 22 Feb 2022 08:24:40 +0000 Subject: [PATCH] Accepting request 956338 from home:gladiac:branches:devel:languages:python - Skip building for python2 Fixes build on openSUSE Leap 15.3. OBS-URL: https://build.opensuse.org/request/show/956338 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=22 --- python-python-dotenv.changes | 5 +++++ python-python-dotenv.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-python-dotenv.changes b/python-python-dotenv.changes index b181f93..c54f5db 100644 --- a/python-python-dotenv.changes +++ b/python-python-dotenv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 21 09:09:13 UTC 2022 - Andreas Schneider + +- Skip building for python2 + ------------------------------------------------------------------- Mon Dec 7 00:42:19 UTC 2020 - Benjamin Greiner diff --git a/python-python-dotenv.spec b/python-python-dotenv.spec index c4dd017..46eaa4b 100644 --- a/python-python-dotenv.spec +++ b/python-python-dotenv.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-dotenv # -# 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-python-dotenv Version: 0.15.0 Release: 0 @@ -34,7 +35,7 @@ BuildRequires: python-rpm-macros Requires: python-click >= 5.0 # rubygem-dotenv also provides executable dotenv Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Suggests: python-jupyter_ipython # There is a very similar Python package which also used `dotenv` namespace Conflicts: python-dotenv