summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2017-07-13 11:01:00 +0200
committerVít Ondruch <vondruch@redhat.com>2017-07-13 11:01:00 +0200
commit039fe34538785102ea0ca5a87bfe5bb30e051844 (patch)
treed3bc2f54e08bcdf6ee54f16a168f7d7311254e97
parentee13a29a75820c7188e0ce8d328c2191452d11db (diff)
downloadrubygem-factory_girl-master.tar.gz
rubygem-factory_girl-master.tar.xz
rubygem-factory_girl-master.zip
Drop the bootstrap macro.HEADmaster
Actually only cucumber-rails depends on factory_girl, so the bootstrap macros should not be needed.
-rw-r--r--rubygem-factory_girl.spec7
1 files changed, 0 insertions, 7 deletions
diff --git a/rubygem-factory_girl.spec b/rubygem-factory_girl.spec
index 6d2256b..ce6eb54 100644
--- a/rubygem-factory_girl.spec
+++ b/rubygem-factory_girl.spec
@@ -1,8 +1,5 @@
%global gem_name factory_girl
-# Circular dependency with cucumber.
-%{?_with_bootstrap: %global bootstrap 1}
-
Name: rubygem-%{gem_name}
Version: 4.8.0
Release: 1%{?dist}
@@ -25,10 +22,8 @@ BuildRequires: rubygem(activerecord)
BuildRequires: rubygem(mocha) >= 0.12.8
BuildRequires: rubygem(sqlite3)
BuildRequires: rubygem(timecop)
-%if ! 0%{?bootstrap}
BuildRequires: %{_bindir}/cucumber
BuildRequires: rubygem(aruba)
-%endif
BuildArch: noarch
%description
@@ -96,7 +91,6 @@ sed -i '/have_received\(.*\)\.with/ s/^/#/' \
rspec -rfileutils spec
-%if ! 0%{?bootstrap}
# Move features into the place.
ln -s %{_builddir}/features features
@@ -108,7 +102,6 @@ sed -i "/simplecov/ s/^/#/" features/support/env.rb
sed -i "s/ActiveRecord::Migration/ActiveRecord::Migration[4.2]/" features/support/factories.rb
cucumber
-%endif
popd
%files