forked from pool/python-prettytable
Accepting request 933921 from home:bnavigator:branches:devel:languages:python:numeric
- Fix missing importlib-metadata requirement OBS-URL: https://build.opensuse.org/request/show/933921 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-prettytable?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 25 21:15:15 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Fix missing importlib-metadata requirement
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 24 07:41:38 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
Wed Nov 24 07:41:38 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@@ -27,6 +27,7 @@ License: BSD-2-Clause
|
|||||||
URL: https://github.com/jazzband/prettytable
|
URL: https://github.com/jazzband/prettytable
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/prettytable/prettytable-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module dbm}
|
BuildRequires: %{python_module dbm}
|
||||||
|
BuildRequires: %{python_module importlib-metadata if %python-base < 3.8}
|
||||||
BuildRequires: %{python_module pytest-lazy-fixture}
|
BuildRequires: %{python_module pytest-lazy-fixture}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
@@ -34,6 +35,9 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: python-wcwidth
|
Requires: python-wcwidth
|
||||||
|
%if 0%{?python_version_nodots} < 38
|
||||||
|
Requires: python-importlib-metadata
|
||||||
|
%endif
|
||||||
Provides: python-PrettyTable = %{version}-%{release}
|
Provides: python-PrettyTable = %{version}-%{release}
|
||||||
Obsoletes: python-PrettyTable < %{version}-%{release}
|
Obsoletes: python-PrettyTable < %{version}-%{release}
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
Reference in New Issue
Block a user