|
|
|
@ -4,8 +4,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: Ruby gem that protects against typical web attacks
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 1.3.2
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.5.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://github.com/rkh/rack-protection
|
|
|
|
@ -17,7 +17,7 @@ BuildRequires: rubygems-devel
|
|
|
|
|
%if 0%{bootstrap} < 1
|
|
|
|
|
BuildRequires: rubygem(minitest)
|
|
|
|
|
BuildRequires: rubygem(rack)
|
|
|
|
|
BuildRequires: rubygem(rspec)
|
|
|
|
|
BuildRequires: rubygem(rspec-core)
|
|
|
|
|
BuildRequires: rubygem(rack-test)
|
|
|
|
|
%endif
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -39,7 +39,6 @@ This package contains documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -c -T
|
|
|
|
|
%{__mkdir_p} .%{gem_dir}
|
|
|
|
|
%gem_install -n %{SOURCE0}
|
|
|
|
|
rm .%{gem_instdir}/%{gem_name}.gemspec
|
|
|
|
|
rm .%{gem_cache}
|
|
|
|
@ -70,6 +69,9 @@ cp -rv .%{gem_dir}/* %{buildroot}%{gem_dir}
|
|
|
|
|
%doc %{gem_docdir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jul 15 2013 Michal Fojtik <mfojtik@redhat.com> - 1.5.0-1
|
|
|
|
|
- Release 1.5.0
|
|
|
|
|
|
|
|
|
|
* Tue Mar 05 2013 Vít Ondruch <vondruch@redhat.com> - 1.3.2-3
|
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
|
|
|
|
|
|