From 32c9dfb27303bd03a6f51e7d763dd25e07c5073b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 24 Mar 2024 20:29:54 +0100 Subject: [PATCH] obsolete python-yapf-py310 [release 0.40.2-2mamba;Sun Mar 24 2024] --- python-yapf.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-yapf.spec b/python-yapf.spec index c641600..dd25782 100644 --- a/python-yapf.spec +++ b/python-yapf.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-yapf Version: 0.40.2 -Release: 1mamba +Release: 2mamba Summary: A formatter for Python code Group: System/Libraries Vendor: openmamba @@ -21,6 +21,10 @@ BuildRequires: python3.11dist(tomli) %{summary}. %if 0%{?with_pyver} +%if "0%{?with_pyver}" == "03" +%define py_requires_append \ +Obsoletes: python-yapf-py310 <= 0.40.2-1mamba +%endif %pyver_package %endif @@ -56,6 +60,9 @@ done %doc AUTHORS LICENSE %changelog +* Sun Mar 24 2024 Silvan Calarco 0.40.2-2mamba +- obsolete python-yapf-py310 + * Sat Sep 23 2023 Automatic Build System 0.40.2-1mamba - automatic version update by autodist