forked from pool/rubygem-gem2rpm
5ca8dc2176
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=16
19 lines
589 B
Diff
19 lines
589 B
Diff
commit f8c0600c659f26d1ec6c9d890a63dd642f741003
|
|
Author: Stephan Kulow <coolo@suse.de>
|
|
Date: Wed Apr 6 08:00:27 2016 +0200
|
|
|
|
add the touch for build-compare to the template
|
|
|
|
diff --git a/templates/opensuse.spec.erb b/templates/opensuse.spec.erb
|
|
index 57bf9ff..22c4647 100644
|
|
--- a/templates/opensuse.spec.erb
|
|
+++ b/templates/opensuse.spec.erb
|
|
@@ -137,6 +137,7 @@ PreReq: update-alternatives
|
|
<% config[:patches].each_with_index do |patch, i| -%>
|
|
%patch<%= i %> <%= patch[1] if patch[1] %>
|
|
<% end -%>
|
|
+find -type f -print0 | xargs -0 touch -r %{S:0}
|
|
%gem_build
|
|
<% end -%>
|
|
|