jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

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

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