Remove the misc directory from the gemspec
It does not need to be built into deployed packages
This commit is contained in:
parent
786c0dc471
commit
32dc6b2dc5
|
@ -1,27 +1,12 @@
|
|||
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.
|
||||
Description: Use file globbing instead of git to list gemspec files
|
||||
The original gemspec uses git to list all the files to be included. This causes
|
||||
builds to fail if the source is from a tarball instead of a git checkout.
|
||||
.
|
||||
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
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Description: Remove misc folder from gemspec
|
||||
The misc folder contains project specific files that aren't needed in built
|
||||
packages.
|
||||
.
|
||||
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
|
||||
Last-Update: 2018-12-05
|
||||
|
||||
--- puppet-strings-2.1.0.orig/puppet-strings.gemspec
|
||||
+++ puppet-strings-2.1.0/puppet-strings.gemspec
|
||||
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
||||
'README.md',
|
||||
]
|
||||
#s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
|
||||
- s.files = Dir.glob("{lib,misc,spec}/**/*") +
|
||||
+ s.files = Dir.glob("{lib,spec}/**/*") +
|
||||
['CHANGELOG.md', 'LICENSE', 'README.md', 'Rakefile', __FILE__]
|
||||
|
||||
s.add_runtime_dependency 'yard', '~> 0.9.5'
|
|
@ -1 +1,2 @@
|
|||
gemspec_no_git
|
||||
remove_misc_from_gemspec
|
||||
|
|
|
@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|||
'README.md',
|
||||
]
|
||||
#s.files = `git ls-files`.split("\n") - Dir['.*', '*.gemspec']
|
||||
s.files = Dir.glob("{lib,misc,spec}/**/*") +
|
||||
s.files = Dir.glob("{lib,spec}/**/*") +
|
||||
['CHANGELOG.md', 'LICENSE', 'README.md', 'Rakefile', __FILE__]
|
||||
|
||||
s.add_runtime_dependency 'yard', '~> 0.9.5'
|
||||
|
|
Loading…
Reference in New Issue