فهرست منبع

fix %post error when installing vim-huge, vim-X11 and vi-X11-huge

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10836 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 7 سال پیش
والد
کامیت
090e4df6b3
1فایلهای تغییر یافته به همراه8 افزوده شده و 4 حذف شده
  1. 8 4
      v/vim/vim-vl.spec

+ 8 - 4
v/vim/vim-vl.spec

@@ -31,7 +31,7 @@ Version: %{vimversion}.%{vimpversion}
 %else
 Version: %{vimversion}
 %endif
-Release: 3%{?_dist_release}
+Release: 4%{?_dist_release}
 
 Distribution: Vine Linux
 Vendor: Project Vine
@@ -1718,7 +1718,7 @@ fi
 %post huge
 update-alternatives \
   --install /bin/vi      vi      %{_bindir}/vim.huge 51 \
-  --slave   /usr/bin/vim vi      %{_bindir}/vim.huge \
+  --slave   /usr/bin/vi  vi      %{_bindir}/vim.huge \
   --slave   /bin/vim     vim     %{_bindir}/vim.huge \
   --slave   /bin/eview   eview   %{_bindir}/vim.huge \
   --slave   /bin/evim    evim    %{_bindir}/vim.huge \
@@ -1740,7 +1740,7 @@ fi
 %post X11
 update-alternatives \
   --install /bin/vi       vi       %{_bindir}/vim.X11-normal 30 \
-  --slave   /usr/bin/vim  vi       %{_bindir}/vim.X11-normal \
+  --slave   /usr/bin/vi   vi       %{_bindir}/vim.X11-normal \
   --slave   /bin/vim      vim      %{_bindir}/vim.X11-normal \
   --slave   /bin/eview    eview    %{_bindir}/vim.X11-normal \
   --slave   /bin/evim     evim     %{_bindir}/vim.X11-normal \
@@ -1798,7 +1798,7 @@ fi
 %post X11-huge
 update-alternatives \
   --install /bin/vi       vi       %{_bindir}/vim.X11-huge 50 \
-  --slave   /usr/bin/vim  vi       %{_bindir}/vim.X11-huge \
+  --slave   /usr/bin/vi   vi       %{_bindir}/vim.X11-huge \
   --slave   /bin/vim      vim      %{_bindir}/vim.X11-huge \
   --slave   /bin/eview    eview    %{_bindir}/vim.X11-huge \
   --slave   /bin/evim     evim     %{_bindir}/vim.X11-huge \
@@ -1911,6 +1911,10 @@ rm -rf %{buildroot}
 %{_bindir}/vim.X11-huge
 
 %changelog
+* Tue Nov 29 2016 Toshiaki Ara <ara_t@384.jp> 7.4.589-4
+- fix %%post error when installing vim-huge, vim-X11 and vi-X11-huge
+  - change /usr/bin/vi to /usr/bin/vi
+
 * Mon Nov 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.4.589-3
 - add Source500 (template.spec.vine)