diff --git a/python-cookiecutter.spec b/python-cookiecutter.spec index 1f02154..63e3b4a 100644 --- a/python-cookiecutter.spec +++ b/python-cookiecutter.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2-) Name: python-cookiecutter Version: 2.6.0 -Release: 1mamba +Release: 2mamba Summary: A command-line utility that creates projects from project templates Group: System/Libraries Vendor: openmamba @@ -28,6 +28,10 @@ BuildRequires: python3-devel >= 3.11.5-3mamba %{summary}. %if 0%{?with_pyver} +%if "%{?with_pyver}" == "3" +%define py_requires_append \ +Obsoletes: python-cookiecutter-py310 < 2.6.0-2mamba +%endif %pyver_package %endif @@ -64,6 +68,9 @@ sed -i "\,%{_bindir},d" %{name}.filelist %doc LICENSE %changelog +* Fri Mar 15 2024 Silvan Calarco 2.6.0-2mamba +- obsolete python-cookiecutter-py310 + * Thu Feb 22 2024 Automatic Build System 2.6.0-1mamba - automatic version update by autodist