jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/vim-7.4-releasestring-1318991.patch

95b286
diff -up vim74/runtime/ftplugin/spec.vim.1318991 vim74/runtime/ftplugin/spec.vim
95b286
--- vim74/runtime/ftplugin/spec.vim.1318991	2016-08-04 15:29:42.423862424 +0200
95b286
+++ vim74/runtime/ftplugin/spec.vim	2016-08-04 15:31:08.797299188 +0200
95b286
@@ -41,8 +41,8 @@ else:
95b286
         headers = spec.sourceHeader
95b286
         version = headers["Version"]
95b286
         release = headers["Release"]
95b286
-        vim.command("let ver = " + version)
95b286
-        vim.command("let rel = " + release)
95b286
+        vim.command("let ver = '" + version + "'")
95b286
+        vim.command("let rel = '" + release + "'")
95b286
 PYEND
95b286
 		endif
95b286
 	endfunction