Fix flatpak build

When building a flatpak, vim is built in /app but binutils is still in /usr.
This commit is contained in:
Yaakov Selkowitz 2022-01-03 04:52:22 +00:00
parent 7e14bc098b
commit a63663e4b1

View File

@ -501,7 +501,7 @@ cd src
%make_install BINDIR=%{_bindir} STRIP=/bin/true
# make install creates vim binary and view symlink, they will be wrappers
# so remove them here
%{_bindir}/rm -f %{buildroot}%{_bindir}/{vim,view}
rm -f %{buildroot}%{_bindir}/{vim,view}
make installgtutorbin DESTDIR=%{buildroot} BINDIR=%{_bindir}
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
mkdir -p %{buildroot}%{_libexecdir}