From c8d76ad3d659e927615c1d26234d3874bb39f631de76b21890224909c946d09b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 26 Aug 2021 22:05:22 +0000 Subject: [PATCH] Recover complicated patching OBS-URL: https://build.opensuse.org/package/show/editors/neovim?expand=0&rev=88 --- neovim.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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}')