anchor.diff:  
   Prefix: <%=@prefix%>
   
  +%define gem_prefix %{prefix}/lib/gems/%(<%=@ruby_cmd%> -e "puts VERSION.split('.')[0..1].join('.')")
  +
   %description
   <%= spec.description %>
   
  
positive.code: 
  %files
  %defattr(-,root,root,-)
  %{prefix}/gems/%{rbname}-%{version}/
  %{prefix}/specifications/%{rbname}-%{version}.gemspec
  %{prefix}/cache/%{rbname}-%{version}.gem
  <% spec.executables.each do |e| %>
  %{prefix}/bin/<%= e %>
  <% end %>
  
  
  
negative.code: gem install %{SOURCE0} --force --local --no-rdoc --no-ri --install-dir=.
  
  %install
  
  echo %{gem_prefix}
  rm -rf $RPM_BUILD_ROOT%{gem_prefix}
  mkdir -p $RPM_BUILD_ROOT%{gem_prefix}
  mv * $RPM_BUILD_ROOT%{gem_prefix}
  chmod -R 0755 $RPM_BUILD_ROOT%{gem_prefix}
  
  %clean
  rm -rf $RPM_BUILD_ROOT
  