From a26dc783991704cfd8e35e94a56f0de6b6dc148b Mon Sep 17 00:00:00 2001 From: jeff200902 Date: Wed, 10 Feb 2021 15:26:28 +0800 Subject: [PATCH] fixed build fail --- rubygem-rack-protection.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rubygem-rack-protection.spec b/rubygem-rack-protection.spec index 13bcad1..4f4fb61 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 -- Gitee