From f54a70f2a12842a6143c17e7e4828271578f5ec09f4dcea7854247d1e46ca9d7 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 11 Mar 2024 05:48:00 +0000 Subject: [PATCH] - Add missing {Build,}Requires on tomli and importlib-metadata. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yapf?expand=0&rev=31 --- python-yapf.changes | 5 +++++ python-yapf.spec | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/python-yapf.changes b/python-yapf.changes index c464fd2..e7aeebb 100644 --- a/python-yapf.changes +++ b/python-yapf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 11 05:47:17 UTC 2024 - Steve Kowalik + +- Add missing {Build,}Requires on tomli and importlib-metadata. + ------------------------------------------------------------------- Mon Nov 27 20:10:52 UTC 2023 - Dirk Müller diff --git a/python-yapf.spec b/python-yapf.spec index e7932ef..5ff013e 100644 --- a/python-yapf.spec +++ b/python-yapf.spec @@ -1,7 +1,7 @@ # # spec file for package python-yapf # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,19 +22,22 @@ Version: 0.40.2 Release: 0 Summary: A formatter for Python code License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/google/yapf Source: https://files.pythonhosted.org/packages/source/y/yapf/yapf-%{version}.tar.gz BuildRequires: %{python_module devel >= 3.7} +BuildRequires: %{python_module importlib-metadata} BuildRequires: %{python_module pip} BuildRequires: %{python_module platformdirs} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module tomli} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-importlib-metadata Requires: python-platformdirs +Requires: python-tomli Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %ifpython2 Recommends: python-futures