[rubygem-rack-protection] Set %bootstrap to 0 to allow tests.

Bohuslav Kabrda bkabrda at fedoraproject.org
Tue Jan 24 15:04:34 UTC 2012


commit 07696a4b2d39b74107bd73128c0885b68418f5aa
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Tue Jan 24 16:04:26 2012 +0100

    Set %bootstrap to 0 to allow tests.

 rubygem-rack-protection.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/rubygem-rack-protection.spec b/rubygem-rack-protection.spec
index 50be3c3..d1c5066 100644
--- a/rubygem-rack-protection.spec
+++ b/rubygem-rack-protection.spec
@@ -1,11 +1,11 @@
 %global gem_name rack-protection
 
-%global bootstrap 1
+%global bootstrap 0
 
 Summary:        Ruby gem that protects against typical web attacks
 Name:           rubygem-%{gem_name}
 Version:        1.2.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Group:          Development/Languages
 License:        MIT
 URL:            http://github.com/rkh/rack-protection
@@ -15,6 +15,7 @@ Requires:       ruby(rubygems)
 Requires:       rubygem(rack)
 BuildRequires:  rubygems-devel
 %if 0%{bootstrap} < 1
+BuildRequires:  rubygem(minitest)
 BuildRequires:  rubygem(rack)
 BuildRequires:  rubygem(rspec-core)
 BuildRequires:  rubygem(rack-test)
@@ -70,6 +71,9 @@ cp -rv .%{gem_dir}/* %{buildroot}%{gem_dir}
 %doc %{gem_docdir}
 
 %changelog
+* Tue Jan 24 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 1.2.0-4
+- Set %%bootstrap to 0 to allow tests.
+
 * Tue Jan 24 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 1.2.0-3
 - Rebuilt for Ruby 1.9.3.
 - Introduced bootstrap to deal with dependency loop.


More information about the scm-commits mailing list