diff --git a/neovim.spec b/neovim.spec index f422fc8..ef3a927 100644 --- a/neovim.spec +++ b/neovim.spec @@ -129,7 +129,12 @@ parts of Vim, without compromise, and more. %define vimplugin_dir %{_datadir}/vim/site %prep -%autosetup -p1 +%setup -q +%patch0 -p1 +%if %{without luajit} +%patch1 -p1 +%endif +%patch2 -p1 # Remove __DATE__ and __TIME__. BUILD_TIME=$(LC_ALL=C date -ur %{_sourcedir}/%{name}.changes +'%{H}:%{M}')