From 0eaf8b87dac732fd8ce698f2ae8f7e88a91d643a29fbf0cce11381c9efcb64aa Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Wed, 17 Nov 2021 16:44:10 +0000 Subject: [PATCH] - Disable Python 2 because Package is not able to build with Python 2 on Leap 15.3 because of "nothing provides python2-charset-normalizer >= 2.0.0 needed by python2-requests" OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recommonmark?expand=0&rev=25 --- python-recommonmark.changes | 5 +++++ python-recommonmark.spec | 12 ++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/python-recommonmark.changes b/python-recommonmark.changes index 74d5342..0442d66 100644 --- a/python-recommonmark.changes +++ b/python-recommonmark.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 17 16:43:36 UTC 2021 - Sebastian Wagner + +- Disable Python 2 because Package is not able to build with Python 2 on Leap 15.3 because of "nothing provides python2-charset-normalizer >= 2.0.0 needed by python2-requests" + ------------------------------------------------------------------- Sun Dec 20 16:05:51 UTC 2020 - Sebastian Wagner diff --git a/python-recommonmark.spec b/python-recommonmark.spec index 7f0f47f..62e9458 100644 --- a/python-recommonmark.spec +++ b/python-recommonmark.spec @@ -1,7 +1,7 @@ # # spec file for package python-recommonmark # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +# Package is not able to build with Python 2 on Leap 15.3 because of "nothing provides python2-charset-normalizer >= 2.0.0 needed by python2-requests" +%define skip_python2 1 Name: python-recommonmark Version: 0.7.1 Release: 0 @@ -35,7 +35,7 @@ Requires: python-CommonMark >= 0.7.3 Requires: python-Sphinx >= 1.3.1 Requires: python-docutils >= 0.11 Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Provides: python-reCommonMark = %{version} Obsoletes: python-reCommonMark < %{version} BuildArch: noarch @@ -46,10 +46,6 @@ BuildRequires: %{python_module docutils >= 0.11} BuildRequires: %{python_module future} BuildRequires: %{python_module pytest} # /SECTION tests -%ifpython2 -Obsoletes: %{oldpython}-reCommonMark < %{version} -Provides: %{oldpython}-reCommonMark = %{version} -%endif %python_subpackages %description