[packages/neovim] keep parsers in %{_libdir} instead of %{_datadir}

atler atler at pld-linux.org
Wed Jun 26 20:50:39 CEST 2024


commit bce98ccd28a957b71e320b9d84b0e113772d5026
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jun 26 20:36:01 2024 +0200

    keep parsers in %{_libdir} instead of %{_datadir}

 neovim.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/neovim.spec b/neovim.spec
index 1b2607b..cdbb351 100644
--- a/neovim.spec
+++ b/neovim.spec
@@ -122,7 +122,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{/etc/xdg/nvim,%{_iconsdir}/hicolor/scalable/apps,%{_datadir}/nvim/runtime/parser}
+install -d $RPM_BUILD_ROOT{/etc/xdg/nvim,%{_iconsdir}/hicolor/scalable/apps,%{_libdir}/nvim/parser}
 touch $RPM_BUILD_ROOT/etc/xdg/nvim/init.vim
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/nvim.svg
 
@@ -175,6 +175,8 @@ EOF
 %attr(755,root,root) %{_bindir}/nvim
 %{_mandir}/man1/nvim.1*
 %{_datadir}/nvim
+%dir %{_libdir}/nvim
+%dir %{_libdir}/nvim/parser
 
 %files desktop
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/neovim.git/commitdiff/bce98ccd28a957b71e320b9d84b0e113772d5026



More information about the pld-cvs-commit mailing list