forked from pool/rubygem-gem2rpm
- add 0017-touch-unpacked-sources.patch to please build-compare
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=16
This commit is contained in:
parent
d267036e22
commit
5ca8dc2176
18
0017-touch-unpacked-sources.patch
Normal file
18
0017-touch-unpacked-sources.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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 -%>
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 6 06:54:21 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
- add 0017-touch-unpacked-sources.patch to please build-compare
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 11 23:34:13 UTC 2015 - mrueckert@suse.de
|
Wed Nov 11 23:34:13 UTC 2015 - mrueckert@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package rubygem-gem2rpm
|
# spec file for package rubygem-gem2rpm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -63,6 +63,7 @@ Patch12: 0014-Refactor-into-multiple-lines.patch
|
|||||||
Patch13: 0015-Add-licence-to-the-list-of-license-files-as-well.patch
|
Patch13: 0015-Add-licence-to-the-list-of-license-files-as-well.patch
|
||||||
Patch14: 0016-add-two-more-ways-to-express-changes.patch
|
Patch14: 0016-add-two-more-ways-to-express-changes.patch
|
||||||
Patch15: 0009-No-longer-require-the-ruby-version-inside-the-subpac.patch
|
Patch15: 0009-No-longer-require-the-ruby-version-inside-the-subpac.patch
|
||||||
|
Patch16: 0017-touch-unpacked-sources.patch
|
||||||
Summary: Generate rpm specfiles from gems
|
Summary: Generate rpm specfiles from gems
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Languages/Ruby
|
Group: Development/Languages/Ruby
|
||||||
@ -90,7 +91,7 @@ The spec file tries to follow the gem as closely as possible
|
|||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
%patch14 -p1
|
%patch14 -p1
|
||||||
%patch15 -p1
|
%patch15 -p1
|
||||||
|
%patch16 -p1
|
||||||
%build
|
%build
|
||||||
%gem_build
|
%gem_build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user