rubygem-gem2rpm/0022-add-the-touch-for-build-compare-to-the-template.patch
Marcus Rueckert 75caa909b3 Accepting request 1041094 from home:mvidner:branches:devel:languages:ruby
- Use git format-patch instead, fixing one more exists? occurrence
- Note 0004-added-example-gem2rpm.yml.patch has the Rakefile hunk removed

OBS-URL: https://build.opensuse.org/request/show/1041094
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=46
2022-12-07 12:28:20 +00:00

25 lines
711 B
Diff

From f8c0600c659f26d1ec6c9d890a63dd642f741003 Mon Sep 17 00:00:00 2001
From: Stephan Kulow <coolo@suse.de>
Date: Wed, 6 Apr 2016 08:00:27 +0200
Subject: [PATCH 22/33] add the touch for build-compare to the template
---
templates/opensuse.spec.erb | 1 +
1 file changed, 1 insertion(+)
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 -%>
--
2.26.2