Replace gemspec files from git with a globbed-search
Builds would fail if source didn't include the repository completely
This commit is contained in:
parent
5865564894
commit
63869cd7e6
|
@ -0,0 +1,39 @@
|
||||||
|
Description: <short summary of the patch>
|
||||||
|
TODO: Put a short summary on the line above and replace this paragraph
|
||||||
|
with a longer explanation of this change. Complete the meta-information
|
||||||
|
with other relevant fields (see below for details). To make it easier, the
|
||||||
|
information below has been extracted from the changelog. Adjust it or drop
|
||||||
|
it.
|
||||||
|
.
|
||||||
|
puppet-strings (2.1.0-1) unstable; urgency=medium
|
||||||
|
.
|
||||||
|
* Initial release. (Closes: #915359)
|
||||||
|
Author: Kienan Stewart <kienan.stewart@burntworld.ca>
|
||||||
|
Bug-Debian: https://bugs.debian.org/915359
|
||||||
|
|
||||||
|
---
|
||||||
|
The information above should follow the Patch Tagging Guidelines, please
|
||||||
|
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
|
||||||
|
are templates for supplementary fields that you might want to add:
|
||||||
|
|
||||||
|
Origin: <vendor|upstream|other>, <url of original patch>
|
||||||
|
Bug: <url in upstream bugtracker>
|
||||||
|
Bug-Debian: https://bugs.debian.org/<bugnumber>
|
||||||
|
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
|
||||||
|
Forwarded: <no|not-needed|url proving that it has been forwarded>
|
||||||
|
Reviewed-By: <name and email of someone who approved the patch>
|
||||||
|
Last-Update: 2018-12-04
|
||||||
|
|
||||||
|
--- puppet-strings-2.1.0.orig/puppet-strings.gemspec
|
||||||
|
+++ puppet-strings-2.1.0/puppet-strings.gemspec
|
||||||
|
@@ -20,7 +20,9 @@ Gem::Specification.new do |s|
|
||||||
|
'LICENSE',
|
||||||
|
'README.md',
|
||||||
|
]
|
||||||
|
- s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
|
||||||
|
+ #s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
|
||||||
|
+ s.files = Dir.glob("{lib,misc,spec}/**/*") +
|
||||||
|
+ ['CHANGELOG.md', 'LICENSE', 'README.md', 'Rakefile', __FILE__]
|
||||||
|
|
||||||
|
s.add_runtime_dependency 'yard', '~> 0.9.5'
|
||||||
|
s.add_runtime_dependency 'rgen'
|
|
@ -0,0 +1 @@
|
||||||
|
gemspec_no_git
|
|
@ -20,7 +20,9 @@ Gem::Specification.new do |s|
|
||||||
'LICENSE',
|
'LICENSE',
|
||||||
'README.md',
|
'README.md',
|
||||||
]
|
]
|
||||||
s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
|
#s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
|
||||||
|
s.files = Dir.glob("{lib,misc,spec}/**/*") +
|
||||||
|
['CHANGELOG.md', 'LICENSE', 'README.md', 'Rakefile', __FILE__]
|
||||||
|
|
||||||
s.add_runtime_dependency 'yard', '~> 0.9.5'
|
s.add_runtime_dependency 'yard', '~> 0.9.5'
|
||||||
s.add_runtime_dependency 'rgen'
|
s.add_runtime_dependency 'rgen'
|
||||||
|
|
Loading…
Reference in New Issue