commit f8c0600c659f26d1ec6c9d890a63dd642f741003 Author: Stephan Kulow 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 -%>