diff --git a/rubygem-rspec-core.spec b/rubygem-rspec-core.spec index 2733dfd..e9624ee 100644 --- a/rubygem-rspec-core.spec +++ b/rubygem-rspec-core.spec @@ -4,7 +4,7 @@ %global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||') %global fullver %{majorver}%{?preminorver} -%global fedorarel 1 +%global fedorarel 2 %global gemname rspec-core %global geminstdir %{gemdir}/gems/%{gemname}-%{fullver} @@ -94,6 +94,12 @@ EOF popd +# Workaround for issue of invalid date format on gemspec file +# (bug 706914) +pushd .%{gemdir}/specifications +sed -i -e '\@s\.date@s|{\(....-..-..\) [^ ][^ ]*}|{\1}|' *.gemspec +popd + %build %install @@ -148,6 +154,9 @@ ruby -rubygems -Ilib/ -S bin/rspec \ %{geminstdir}/spec/ %changelog +* Tue May 24 2011 Mamoru Tasaka - 2.6.2-2 +- Workaround for invalid date format in gemspec file (bug 706914) + * Mon May 23 2011 Mamoru Tasaka - 2.6.2-1 - 2.6.2