[rubygem-rack-protection] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

Vít Ondruch vondruch at fedoraproject.org
Tue Mar 5 12:41:07 UTC 2013


commit e681dd1683ba1760bfe16d7973e6ccf43979d0ec
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Mar 5 13:31:00 2013 +0100

    Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

 rubygem-rack-protection.spec |   12 +++++++-----
 1 files 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 <vondruch at redhat.com> - 1.3.2-3
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Fri Feb 22 2013 Michal Fojtik <mfojtik at redhat.com> - 1.3.2-2
 - Fixed rspec dependency
 


More information about the scm-commits mailing list