Red Hat Bugzilla – Bug 503872
vim.spec needs a BuildRequires: ruby ruby-devel line
Last modified: 2009-12-21 23:59:28 EST
Description of problem:
Sort-of a duplicate of #215307
vim in F11 comes without ruby support, although the support was explicitly enabled in 7.1.262-1 (cvs version 1.192 of vim.spec).
Installing ruby and ruby-devel before building the rpm file enables ruby support.
Version-Release number of selected component (if applicable):
vim --version | grep ruby
displays "+ruby" if ruby support is enabled, or "-ruby" otherwise.
Steps to Reproduce:
1. install vim-enhanced from the repos
2. vim --version | grep ruby shows "-ruby"
3. get vim source package, build, repeat 2, shows "-ruby"
4. install ruby && ruby-devel
5. build source package. vim --version shows +ruby now. See scratch build at http://koji.fedoraproject.org/koji/taskinfo?taskID=1390452
This suggests that a BuildRequires: ruby ruby-devel is missing from the spec file. Note that just ruby or ruby-devel alone is not enough, and the fix for #215307 needs to stay in the spec file too.
Hey I was wondering if there was any status update on this as this is needed for ruby omni-completion to work in vim. Thanks alot.
This will be fixed in the next vim release that I'm currently working on, 7.2-314 or higher
vim-7.2.315-1.fc12 has been submitted as an update for Fedora 12.
vim-7.2.315-1.fc11 has been submitted as an update for Fedora 11.
vim-7.2.315-1.fc10 has been submitted as an update for Fedora 10.
vim-7.2.315-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
vim-7.2.315-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.