From e681dd1683ba1760bfe16d7973e6ccf43979d0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Tue, 5 Mar 2013 13:31:00 +0100 Subject: [PATCH] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 --- rubygem-rack-protection.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/rubygem-rack-protection.spec b/rubygem-rack-protection.spec index d957505..ab23db2 100644 --- a/rubygem-rack-protection.spec +++ b/rubygem-rack-protection.spec @@ -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 - 1.3.2-3 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + * Fri Feb 22 2013 Michal Fojtik - 1.3.2-2 - Fixed rspec dependency