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

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

Loading…
Cancel
Save