14
0

- 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
This commit is contained in:
Sebastian Wagner
2021-11-17 16:44:10 +00:00
committed by Git OBS Bridge
parent 426fd6cf25
commit 0eaf8b87da
2 changed files with 9 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 17 16:43:36 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- 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 <sebix+novell.com@sebix.at> Sun Dec 20 16:05:51 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-recommonmark # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,8 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} # 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 oldpython python %define skip_python2 1
Name: python-recommonmark Name: python-recommonmark
Version: 0.7.1 Version: 0.7.1
Release: 0 Release: 0
@@ -35,7 +35,7 @@ Requires: python-CommonMark >= 0.7.3
Requires: python-Sphinx >= 1.3.1 Requires: python-Sphinx >= 1.3.1
Requires: python-docutils >= 0.11 Requires: python-docutils >= 0.11
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(preun): update-alternatives Requires(preun):update-alternatives
Provides: python-reCommonMark = %{version} Provides: python-reCommonMark = %{version}
Obsoletes: python-reCommonMark < %{version} Obsoletes: python-reCommonMark < %{version}
BuildArch: noarch BuildArch: noarch
@@ -46,10 +46,6 @@ BuildRequires: %{python_module docutils >= 0.11}
BuildRequires: %{python_module future} BuildRequires: %{python_module future}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# /SECTION tests # /SECTION tests
%ifpython2
Obsoletes: %{oldpython}-reCommonMark < %{version}
Provides: %{oldpython}-reCommonMark = %{version}
%endif
%python_subpackages %python_subpackages
%description %description