File project.diff of Package kdevelop5-plugin-python3

--- kdevelop5-plugin-python3.changes.orig
+++ kdevelop5-plugin-python3.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Thu Feb  9 05:15:40 UTC 2023 - Samu Voutilainen <smar@smar.fi>
+
+- Allow building on SUSE-15-SP4 
+
+-------------------------------------------------------------------
 Tue Jan 31 10:33:36 UTC 2023 - Christophe Marin <christophe@krop.fr>
 
 - Update to 22.12.2
--- kdevelop5-plugin-python3.spec.orig
+++ kdevelop5-plugin-python3.spec
@@ -17,9 +17,9 @@
 
 
 %define rname kdev-python
-%if 0%{suse_version} >= 1550
+%if 0%{suse_version} >= 1550 || 0%{sle_version} >= 150400
 %define mypython python310
-%else 
+%else
 %define mypython python3
 %endif
 %bcond_without released
@@ -38,8 +38,11 @@ BuildRequires:  extra-cmake-modules
 BuildRequires:  fdupes
 BuildRequires:  kdevelop5
 BuildRequires:  kf5-filesystem
-BuildRequires:  %mypython >= 3.4.3
-BuildRequires:  %mypython-devel >= 3.4.3
+BuildRequires:  %mypython >= 3.7.0
+%if 0%{sle_version} >= 150400
+BuildRequires:  %mypython-base
+%endif
+BuildRequires:  %mypython-devel >= 3.7.0
 BuildRequires:  cmake(KDevPlatform)
 BuildRequires:  cmake(KF5I18n)
 BuildRequires:  cmake(KF5TextEditor)
@@ -76,7 +79,11 @@ Provides translations to the package %{n
 %autosetup -p1 -n %{rname}-%{version}
 
 %build
+%if 0%{sle_version} >= 150400
+%cmake_kf5 -d build "-DPYTHON_EXECUTABLE=%{_bindir}/python3.10"
+%else
 %cmake_kf5 -d build
+%endif
 %make_build parser
 %cmake_build