diff --git a/python-aws-sam-translator.changes b/python-aws-sam-translator.changes index 3fc2a10..9adedb0 100644 --- a/python-aws-sam-translator.changes +++ b/python-aws-sam-translator.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 10 18:54:55 UTC 2024 - Robert Schweikert + +- Switch to Python 3.11 build in SLE 15 SP4 and openSUSE Leap 15.4 and + later (jsc#PCT-371) + ------------------------------------------------------------------- Fri Apr 5 09:04:00 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-aws-sam-translator.spec b/python-aws-sam-translator.spec index eaf797d..7871401 100644 --- a/python-aws-sam-translator.spec +++ b/python-aws-sam-translator.spec @@ -23,9 +23,7 @@ %else %bcond_without test %endif -%if 0%{?suse_version} >= 1500 -%define skip_python2 1 -%endif +%{?sle15_python_module_pythons} Name: python-aws-sam-translator Version: 1.87.0 Release: 0 @@ -48,6 +46,9 @@ BuildArch: noarch %if 0%{?suse_version} < 1500 BuildRequires: python %endif +%if 0%{?sle_version} >= 150400 +Obsoletes: python3-aws-sam-translator < %{version} +%endif # SECTION test requirements BuildRequires: %{python_module PyYAML >= 5.4} BuildRequires: %{python_module boto3 >= 1.19.5}