Update to command-t 1.5.

This commit is contained in:
Vít Ondruch 2013-09-23 17:05:01 +02:00
commit 883369dbbe
3 changed files with 15 additions and 4 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
/command-t-1.4.tar.gz
/command-t-1.5.tar.gz

View file

@ -1 +1 @@
d98188718066276cc26ec4ea5002c076 command-t-1.4.tar.gz
8f989c2c527b82aae0048de0c5f131d7 command-t-1.5.tar.gz

View file

@ -5,16 +5,19 @@
%global commandt_so_dir %{ruby_vendorarchdir}/command-t
Name: vim-command-t
Version: 1.4
Release: 5%{?dist}
Version: 1.5
Release: 1%{?dist}
Summary: An extremely fast, intuitive mechanism for opening files in VIM
Group: Applications/Editors
License: BSD
URL: https://wincent.com/products/command-t
# Officialy distributed only using vimball:
# https://wincent.com/issues/1978
# .gitattributes are used to ignore huge benchmark.yml file.
# https://github.com/wincent/Command-T/pull/56
# git clone git://git.wincent.com/command-t.git && cd command-t/
# git archive 1.4 -o command-t-1.4.tar.gz
# echo "data/benchmark.yml export-ignore" > .gitattributes
# git archive 1.5 -o command-t-1.5.tar.gz --worktree-attributes
Source0: command-t-%{version}.tar.gz
Requires: ruby(release)
# Although command-t does not depend on rubygems directly, the RubyGems are
@ -74,6 +77,10 @@ cp -pa doc/command-t.txt README.txt
# Get rid of Bundler
sed -i '24,+5d' spec/spec_helper.rb
# Test suite fails with "NoMethodError: undefined method `evaluate' for VIM:Module".
# https://wincent.com/issues/2111
sed -i '/@base_wild_ignore = VIM::wild_ignore/ s/^/#/' ruby/command-t/scanner/file_scanner.rb
rspec -Iruby spec
%post
@ -100,6 +107,9 @@ vim -c ":helptags %{vimfiles}/doc" -c :q &> /dev/null
%changelog
* Mon Sep 23 2013 Vít Ondruch <vondruch@redhat.com> - 1.5-1
- Update to command-t 1.5.
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild