templates/fedora.spec.erb in gem2rpm-0.8.4 vs templates/fedora.spec.erb in gem2rpm-0.9.0
- old
+ new
@@ -1,5 +1,5 @@
-# Generated from <%= File::basename(format.gem_path) %> by gem2rpm -*- rpm-spec -*-
+# Generated from <%= package.spec.file_name %> by gem2rpm -*- rpm-spec -*-
%global gemname <%= spec.name %>
<% if nongem -%>
%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
<% end -%>