Workaround for invalid date format in gemspec file (bug 706914)
This commit is contained in:
parent
47562d39af
commit
08213979b5
@ -4,7 +4,7 @@
|
|||||||
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
%global rpmminorver .%(echo %preminorver | sed -e 's|^\\.\\.*||')
|
||||||
%global fullver %{majorver}%{?preminorver}
|
%global fullver %{majorver}%{?preminorver}
|
||||||
|
|
||||||
%global fedorarel 1
|
%global fedorarel 2
|
||||||
|
|
||||||
%global gemname rspec-core
|
%global gemname rspec-core
|
||||||
%global geminstdir %{gemdir}/gems/%{gemname}-%{fullver}
|
%global geminstdir %{gemdir}/gems/%{gemname}-%{fullver}
|
||||||
@ -94,6 +94,12 @@ EOF
|
|||||||
|
|
||||||
popd
|
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
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -148,6 +154,9 @@ ruby -rubygems -Ilib/ -S bin/rspec \
|
|||||||
%{geminstdir}/spec/
|
%{geminstdir}/spec/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 24 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.6.2-2
|
||||||
|
- Workaround for invalid date format in gemspec file (bug 706914)
|
||||||
|
|
||||||
* Mon May 23 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.6.2-1
|
* Mon May 23 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.6.2-1
|
||||||
- 2.6.2
|
- 2.6.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user