From 0a2a50f5e139a5452891bfa9d333129e4bf6f553 Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Apr 29 2016 11:04:58 +0000 Subject: move file copy after make install --- diff --git a/vim.spec b/vim.spec index d33067e..527fcd9 100644 --- a/vim.spec +++ b/vim.spec @@ -336,8 +336,6 @@ cp -f %{SOURCE15} %{buildroot}/%{_datadir}/%{name}/vimfiles/template.spec %else cp -f %{SOURCE14} %{buildroot}/%{_datadir}/%{name}/vimfiles/template.spec %endif -cp -f %{SOURCE17} %{buildroot}/%{_datadir}/%{name}/%{vimdir}/ftplugin/spec.vim -cp -f %{SOURCE18} %{buildroot}/%{_datadir}/%{name}/%{vimdir}/syntax/spec.vim cp runtime/doc/uganda.txt LICENSE # Those aren't Linux info files but some binary files for Amiga: rm -f README*.info @@ -358,6 +356,8 @@ install -p -m644 %{SOURCE9} \ %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gvim.png install -p -m644 %{SOURCE10} \ %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/gvim.png +cp -f %{SOURCE17} %{buildroot}/%{_datadir}/%{name}/%{vimdir}/ftplugin/spec.vim +cp -f %{SOURCE18} %{buildroot}/%{_datadir}/%{name}/%{vimdir}/syntax/spec.vim # Register as an application to be visible in the software center #