Package not found: home:mcalabkova:branches:devel:languages:python:django:leap/rzip

File 0035-fix-patch-syntax.patch of Package rubygem-gem2rpm

Index: gem2rpm-0.10.1/templates/opensuse.spec.erb
===================================================================
--- gem2rpm-0.10.1.orig/templates/opensuse.spec.erb
+++ gem2rpm-0.10.1/templates/opensuse.spec.erb
@@ -141,7 +141,7 @@ PreReq:         update-alternatives
 <% unless config[:patches].nil? or config[:patches].empty? -%>
 %gem_unpack
 <% config[:patches].each_with_index do |patch, i| -%>
-%patch<%= i %> <%= patch[1] if patch[1] %>
+%patch -P <%= i %> <%= patch[1] if patch[1] %>
 <% end -%>
 <% if config[:post_patch] -%>
 # MANUAL
openSUSE Build Service is sponsored by