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