diff --git a/rubygem-rack-protection.spec b/rubygem-rack-protection.spec index 13bcad1b9dcc6d4d17045bc7082a44125f033572..4f4fb61abec4c63ad746a5d0854775066242fc74 100644 --- a/rubygem-rack-protection.spec +++ b/rubygem-rack-protection.spec @@ -3,7 +3,7 @@ Summary: Ruby gem that protects against typical web attacks Name: rubygem-%{gem_name} Version: 2.0.3 -Release: 1 +Release: 2 License: MIT URL: http://github.com/sinatra/sinatra/tree/master/rack-protection Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem @@ -33,6 +33,7 @@ This package contains documentation for %{name}. %check pushd .%{gem_instdir} tar xzvf %{SOURCE1} +sed -i 's/-0000/GMT/g' sinatra-2.0.3/rack-protection/spec/lib/rack/protection/cookie_tossing_spec.rb ln -s sinatra-%{version}/%{gem_name}/spec spec rspec -r 'spec_helper' spec popd @@ -57,5 +58,8 @@ cp -rv .%{gem_dir}/* %{buildroot}%{gem_dir} %{gem_instdir}/Rakefile %changelog +* Wed Feb 10 2021 jeff200902 - 2.0.3-2 +- fix check failed + * Fri Aug 21 2020 luoshengwei - 2.0.3-1 - package init