15
0

Accepting request 942996 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/942996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coloredlogs?expand=0&rev=10
This commit is contained in:
2021-12-29 20:10:57 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Dec 27 11:16:51 UTC 2021 - ecsos <ecsos@opensuse.org>
- Fix build error for Leap.
- Set right versions to BuildRequires and Requires.
- Disable python2 and python36 because End of support.
-------------------------------------------------------------------
Tue Nov 16 13:00:38 UTC 2021 - ecsos <ecsos@opensuse.org>

View File

@@ -18,6 +18,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-coloredlogs
Version: 15.0.1
Release: 0
@@ -30,7 +32,7 @@ Source: https://files.pythonhosted.org/packages/source/c/coloredlogs/col
# With using alternatives, we don't have versionless command in time of %%check
Patch0: test_cli_conversion_test.patch
BuildRequires: %{python_module capturer >= 2.4}
BuildRequires: %{python_module humanfriendly >= 7.1}
BuildRequires: %{python_module humanfriendly >= 9.1}
BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module pytest >= 3.0.3}
BuildRequires: %{python_module pytest-cov >= 2.3.1}
@@ -39,7 +41,7 @@ BuildRequires: %{python_module verboselogs >= 1.7}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-capturer >= 2.4
Requires: python-humanfriendly >= 7.1
Requires: python-humanfriendly >= 9.1
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-verboselogs >= 1.7