From 9250c2cc996c2c00e53c5590a6b957757a3ce3d0 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Oct 13 2021 06:40:26 +0000 Subject: vim.spec: Use absolute links for vi We cannot use relative links for vi, because the true Vi now lives in /usr/libexec. --- diff --git a/vim.spec b/vim.spec index ee24dc3..608fda4 100644 --- a/vim.spec +++ b/vim.spec @@ -546,11 +546,11 @@ SentUpstream: 2014-05-22 EOF ( cd %{buildroot} - ln -sf .%{_libexecdir}/vi .%{_bindir}/rvi - ln -sf .%{_libexecdir}/vi .%{_bindir}/rview - ln -sf .%{_libexecdir}/vi .%{_bindir}/ex - ln -sf .%{_bindir}/vim .%{_bindir}/rvim - ln -sf .%{_bindir}/vim .%{_bindir}/vimdiff + ln -sf %{_libexecdir}/vi .%{_bindir}/rvi + ln -sf %{_libexecdir}/vi .%{_bindir}/rview + ln -sf %{_libexecdir}/vi .%{_bindir}/ex + ln -sf vim .%{_bindir}/rvim + ln -sf vim .%{_bindir}/vimdiff perl -pi -e "s,%{buildroot},," .%{_mandir}/man1/vim.1 .%{_mandir}/man1/vimtutor.1 rm -f .%{_mandir}/man1/rvim.1 cp -p .%{_mandir}/man1/vim.1 .%{_mandir}/man1/vi.1