[rubygem-rails-observers] Get rid of unnecessary bootstrap

Josef Stribny jstribny at fedoraproject.org
Fri Jan 24 12:15:09 UTC 2014


commit 3623ae45ceb5c8b81fa8f83a73dd8d4b0ee3553f
Author: Josef Stribny <jstribny at redhat.com>
Date:   Fri Jan 24 13:15:26 2014 +0100

    Get rid of unnecessary bootstrap

 rubygem-rails-observers.spec |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/rubygem-rails-observers.spec b/rubygem-rails-observers.spec
index 418bbcf..deb9b44 100644
--- a/rubygem-rails-observers.spec
+++ b/rubygem-rails-observers.spec
@@ -1,9 +1,6 @@
 # Generated from rails-observers-0.1.2.gem by gem2rpm -*- rpm-spec -*-
 %global gem_name rails-observers
 
-# ActiveModel 4.0 is not yet in Fedora
-%global bootstrap 0
-
 Name: rubygem-%{gem_name}
 Version: 0.1.2
 Release: 3%{?dist}
@@ -18,12 +15,10 @@ Requires: rubygem(activemodel) => 4.0
 Requires: rubygem(activemodel) < 5
 BuildRequires: ruby(release)
 BuildRequires: rubygems-devel
-%if 0%{bootstrap} < 1
 BuildRequires: rubygem(minitest)
 BuildRequires: rubygem(mocha)
 BuildRequires: rubygem(activemodel) => 4.0
 BuildRequires: rubygem(activemodel) < 5
-%endif
 BuildRequires: ruby
 BuildArch: noarch
 Provides: rubygem(%{gem_name}) = %{version}
@@ -63,11 +58,9 @@ cp -pa .%{gem_dir}/* \
         %{buildroot}%{gem_dir}/
 
 %check
-%if 0%{bootstrap} < 1
 pushd .%{gem_instdir}
 testrb -Ilib test/*_test.rb
 popd
-%endif
 
 %files
 %dir %{gem_instdir}


More information about the scm-commits mailing list