Commit 32dc6b2d authored by Kienan Stewart's avatar Kienan Stewart

Remove the misc directory from the gemspec

It does not need to be built into deployed packages
parent 786c0dc4
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
......
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'
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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment