templates/fedora.spec.erb in gem2rpm-0.7.1 vs templates/fedora.spec.erb in gem2rpm-0.8.0

- old
+ new

@@ -126,10 +126,10 @@ %doc %{gemdir}/doc/%{gemname}-%{version} <% for f in spec.extra_rdoc_files -%> %doc %{geminstdir}/<%= f %> <% end -%> <% end -%> -%{gemdir}/cache/%{gemname}-%{version}.gem +%exclude %{gemdir}/cache/%{gemname}-%{version}.gem %{gemdir}/specifications/%{gemname}-%{version}.gemspec <% if doc_subpackage -%> %files doc %doc %{gemdir}/doc/%{gemname}-%{version}