Vít Ondruch 12 years ago
parent 42626928f8
commit e681dd1683

@ -1,16 +1,16 @@
%global gem_name rack-protection
%global bootstrap 0
%global bootstrap 1
Summary: Ruby gem that protects against typical web attacks
Name: rubygem-%{gem_name}
Version: 1.3.2
Release: 2%{?dist}
Release: 2.1%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/rkh/rack-protection
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
Requires: ruby(abi) = 1.9.1
Requires: ruby(release)
Requires: ruby(rubygems)
Requires: rubygem(rack)
BuildRequires: rubygems-devel
@ -40,8 +40,7 @@ This package contains documentation for %{name}.
%prep
%setup -q -c -T
%{__mkdir_p} .%{gem_dir}
gem install --local --install-dir .%{gem_dir} \
--force -V %{SOURCE0}
%gem_install -n %{SOURCE0}
rm .%{gem_instdir}/%{gem_name}.gemspec
rm .%{gem_cache}
@ -71,6 +70,9 @@ cp -rv .%{gem_dir}/* %{buildroot}%{gem_dir}
%doc %{gem_docdir}
%changelog
* 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
* Fri Feb 22 2013 Michal Fojtik <mfojtik@redhat.com> - 1.3.2-2
- Fixed rspec dependency

Loading…
Cancel
Save