|
1 | 1 | %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) |
2 | | -%global vimdatadir %{_datadir}/vim/vimfiles |
3 | 2 | %if 0%{?rhel} && 0%{?rhel} <= 9 |
4 | 3 | %global bash_completions_dir %{_datadir}/bash-completion/completions |
5 | 4 | %global fish_completions_dir %{_datadir}/fish/vendor_completions.d |
@@ -111,7 +110,7 @@ have access to the module alias. |
111 | 110 | --bindir=%{_datadir}/Modules/bin \ |
112 | 111 | --libexecdir=%{_datadir}/Modules/libexec \ |
113 | 112 | --mandir=%{_mandir} \ |
114 | | - --vimdatadir=%{vimdatadir} \ |
| 113 | + --vimdatadir=%{vimfiles_root} \ |
115 | 114 | --emacsdatadir=%{_emacs_sitelispdir}/%{name} \ |
116 | 115 | --nagelfardatadir=%{_datadir}/Modules/nagelfar \ |
117 | 116 | --with-bashcompletiondir=%{bash_completions_dir} \ |
|
256 | 255 | %{_mandir}/man1/module.1.gz |
257 | 256 | %{_mandir}/man5/modulefile.5.gz |
258 | 257 | %{macrosdir}/macros.%{name} |
259 | | -%{vimdatadir}/ftdetect/modulefile.vim |
260 | | -%{vimdatadir}/ftplugin/modulefile.vim |
261 | | -%{vimdatadir}/syntax/modulefile.vim |
| 258 | +%{vimfiles_root}/ftdetect/modulefile.vim |
| 259 | +%{vimfiles_root}/ftplugin/modulefile.vim |
| 260 | +%{vimfiles_root}/syntax/modulefile.vim |
262 | 261 | %dir %{_emacs_sitelispdir}/%{name} |
263 | 262 | %{_emacs_sitelispdir}/%{name}/* |
264 | 263 | %{_emacs_sitestartdir}/%{name}-init.el |
|
0 commit comments