[rubygem-gherkin] Remove trollop references since it is no longer used.

Chris Lalancette clalance at fedoraproject.org
Mon Jun 27 21:02:09 UTC 2011


commit 56c6089771b85c8ffa96e79aff21f05a258bc935
Author: Chris Lalancette <clalance at redhat.com>
Date:   Mon Jun 27 15:29:39 2011 -0400

    Remove trollop references since it is no longer used.
    
    Signed-off-by: Chris Lalancette <clalance at redhat.com>

 rubygem-gherkin.spec |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/rubygem-gherkin.spec b/rubygem-gherkin.spec
index 3bffa49..6b72a62 100644
--- a/rubygem-gherkin.spec
+++ b/rubygem-gherkin.spec
@@ -15,7 +15,6 @@ Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: ruby(abi) = %{rubyabi}
 Requires: rubygems
-Requires: rubygem(trollop)
 BuildRequires: ruby(rubygems)
 BuildRequires: ruby-devel
 Provides: rubygem(%{gemname}) = %{version}
@@ -45,9 +44,6 @@ gem install \
 
 %build
 pushd %{_builddir}/%{name}-%{version}/%{geminstdir}/ext
-# Fix trollop version
-# TODO: Revert this to newer version once trollop will be upgraded
-sed -i -e "s|1.16.2|1.15|" ../Rakefile
 # Recompile all shared libraries using -O2 optimization flag
 rm -rf ../lib/*.so
 for lexer_dir in */ ; do
@@ -105,9 +101,7 @@ sed -i -e "s|\r||" %{buildroot}%{geminstdir}/spec/gherkin/fixtures/with_bom.feat
 # Fix incompatible version of RSpec
 # TODO: Update these packages in Fedora and remove this lines
 sed -i -e "s|2.0.0.beta.17|1.3.0|" %{buildroot}%{geminstdir}/Rakefile
-sed -i -e "s|1.16.2|1.15|" %{buildroot}%{geminstdir}/Rakefile
 sed -i -e "s|2.0.0.beta.17|1.3.0|" %{buildroot}%{gemdir}/specifications/%{gemname}-%{version}.gemspec
-sed -i -e "s|1.16.2|1.15|" %{buildroot}%{gemdir}/specifications/%{gemname}-%{version}.gemspec
 
 %clean
 rm -rf %{buildroot}


More information about the scm-commits mailing list