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