From 9ceb7e3883094489a60186adcb262410685d058ca24cac8e8fda74bab8fef292 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 30 Aug 2021 12:56:07 +0000 Subject: [PATCH] Accepting request 915000 from home:jayvdb:branches:devel:languages:python:flask - Add runtime dependency on importlib-metadata on Python 3.6 OBS-URL: https://build.opensuse.org/request/show/915000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=34 --- python-click.changes | 5 +++++ python-click.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-click.changes b/python-click.changes index 30617a0..13d6b0e 100644 --- a/python-click.changes +++ b/python-click.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 30 10:30:30 UTC 2021 - John Vandenberg + +- Add runtime dependency on importlib-metadata on Python 3.6 + ------------------------------------------------------------------- Sat Jun 19 14:16:30 UTC 2021 - Michael Ströder diff --git a/python-click.spec b/python-click.spec index def6176..c572dbd 100644 --- a/python-click.spec +++ b/python-click.spec @@ -32,6 +32,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-setuptools +%if "%{python_flavor}" == "python36" +Requires: python-importlib-metadata +%endif BuildArch: noarch %python_subpackages @@ -53,7 +56,7 @@ defaults out of the box. %check export LANG=en_US.UTF-8 -%pytest --tb=short +%pytest -rs --tb=short %files %{python_files} %license LICENSE.rst