forked from pool/rubygem-gem2rpm
Marcus Rueckert
00192b0f0a
- Added 0034-plugin-dir.patch - also own the new gem plugin dir - Added 0035-fix-patch-syntax.patch: Fix patch syntax for the upcoming rpm 4.20 OBS-URL: https://build.opensuse.org/request/show/1149960 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=58
14 lines
550 B
Diff
14 lines
550 B
Diff
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
|