From dbca34a8c901beec63f6f2f45db8fa744b29b2c46cf970fb67c5437b67a7fe51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 14 Mar 2020 08:10:40 +0000 Subject: [PATCH] - Fix build on older openSUSE releases as with py3.6 we need the importlib_resources too OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.text?expand=0&rev=11 --- python-jaraco.text.changes | 6 ++++++ python-jaraco.text.spec | 7 ++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/python-jaraco.text.changes b/python-jaraco.text.changes index 3695ae6..aa7c59c 100644 --- a/python-jaraco.text.changes +++ b/python-jaraco.text.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Mar 14 08:09:33 UTC 2020 - Tomáš Chvátal + +- Fix build on older openSUSE releases as with py3.6 we need the + importlib_resources too + ------------------------------------------------------------------- Thu Jan 16 09:44:33 UTC 2020 - Tomáš Chvátal diff --git a/python-jaraco.text.spec b/python-jaraco.text.spec index ad9d3c1..9a4a1ec 100644 --- a/python-jaraco.text.spec +++ b/python-jaraco.text.spec @@ -22,24 +22,21 @@ Version: 3.2.0 Release: 0 Summary: Tools to work with text License: MIT -Group: Development/Languages/Python URL: https://github.com/jaraco/jaraco.text Source0: https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-%{version}.tar.gz +BuildRequires: %{python_module importlib_resources} BuildRequires: %{python_module jaraco.base >= 6.1} BuildRequires: %{python_module jaraco.functools} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-importlib_resources BuildRequires: python-rpm-macros +Requires: python-importlib_resources Requires: python-jaraco.base >= 6.1 Requires: python-jaraco.functools Requires: python-six BuildArch: noarch -%ifpython2 -Requires: python-importlib_resources -%endif %python_subpackages %description