From 883369dbbe0e8264e0c9cb55fdbbc457ff92a910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Mon, 23 Sep 2013 17:05:01 +0200 Subject: [PATCH] Update to command-t 1.5. --- .gitignore | 1 + sources | 2 +- vim-command-t.spec | 16 +++++++++++++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c3e1972..7df22c8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /command-t-1.4.tar.gz +/command-t-1.5.tar.gz diff --git a/sources b/sources index e368f5f..04ab45b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d98188718066276cc26ec4ea5002c076 command-t-1.4.tar.gz +8f989c2c527b82aae0048de0c5f131d7 command-t-1.5.tar.gz diff --git a/vim-command-t.spec b/vim-command-t.spec index 49ed72c..3d07f4e 100644 --- a/vim-command-t.spec +++ b/vim-command-t.spec @@ -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 - 1.5-1 +- Update to command-t 1.5. + * Sun Aug 04 2013 Fedora Release Engineering - 1.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild