File project.diff of Package vim

--- vim.spec.orig
+++ vim.spec
@@ -88,6 +88,8 @@ BuildRequires:  libtool
 BuildRequires:  ncurses-devel
 BuildRequires:  perl
 BuildRequires:  pkgconfig
+BuildRequires:  python39
+BuildRequires:  python39-devel
 BuildRequires:  ruby-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(gtk+-3.0)
@@ -269,8 +271,11 @@ export HUGE_OPTIONS="\
     --enable-luainterp=dynamic \
     --enable-perlinterp=yes \
     --enable-python3interp=dynamic \
-    --enable-rubyinterp=dynamic
-    --enable-pythoninterp=%{?with_python2:yes}%{!?with_python2:no}"
+    --with-python3-command=python3.9 \
+    --with-python3-config-dir=/usr/lib64/python3.9/config-3.9-x86_64-linux-gnu \
+    --enable-rubyinterp=dynamic \
+    --enable-pythoninterp=%{?with_python2:yes}%{!?with_python2:no} \
+    "
 
 export GUI_OPTIONS="\
     --disable-icon-cache-update \
openSUSE Build Service is sponsored by