rpms/vim/devel vim.spec,1.81,1.82 vimrc,1.12,1.13

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Oct 11 11:34:18 UTC 2005


Author: karsten

Update of /cvs/dist/rpms/vim/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv32232

Modified Files:
	vim.spec vimrc 
Log Message:
- don't try to run cscope if cscope binary doesn't exist (#170371)


Index: vim.spec
===================================================================
RCS file: /cvs/dist/rpms/vim/devel/vim.spec,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -r1.81 -r1.82
--- vim.spec	10 Oct 2005 09:26:30 -0000	1.81
+++ vim.spec	11 Oct 2005 11:33:54 -0000	1.82
@@ -28,7 +28,7 @@
 Summary: The VIM editor.
 Name: vim
 Version: %{baseversion}.%{patchlevel}
-Release: 1
+Release: 2
 License: freeware
 Group: Applications/Editors
 Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2
@@ -678,6 +678,9 @@
 %endif
 
 %changelog
+* Tue Oct 11 2005 Karsten Hopp <karsten at redhat.de> 6.3.090-2
+- don't try to run cscope if cscope binary doesn't exist (#170371)
+
 * Mon Oct 10 2005 Karsten Hopp <karsten at redhat.de> 6.3.090-1
 - patchlevel 90
 - next attempt to fix perl requirements, add perl-epoch (#145475)


Index: vimrc
===================================================================
RCS file: /cvs/dist/rpms/vim/devel/vimrc,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- vimrc	1 Dec 2004 12:08:08 -0000	1.12
+++ vimrc	11 Oct 2005 11:33:54 -0000	1.13
@@ -22,7 +22,7 @@
   \ endif
 endif
 
-if has("cscope")
+if has("cscope") && filereadable("/usr/bin/cscope")
    set csprg=/usr/bin/cscope
    set csto=0
    set cst




More information about the fedora-cvs-commits mailing list