[DRE-commits] [gist] 04/06: Avoid git in gemspec

zeha at debian.org zeha at debian.org
Tue Jul 11 20:17:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

zeha pushed a commit to branch master
in repository gist.

commit 1c122e8557535795b347a26e5281b658ef07417c
Author: Christian Hofstaedtler <zeha at debian.org>
Date:   Tue Jul 11 19:49:50 2017 +0000

    Avoid git in gemspec
---
 debian/patches/gemspec-no-git | 13 +++++++++++++
 debian/patches/series         |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/gemspec-no-git b/debian/patches/gemspec-no-git
new file mode 100644
index 0000000..b3214e2
--- /dev/null
+++ b/debian/patches/gemspec-no-git
@@ -0,0 +1,13 @@
+Index: gist/gist.gemspec
+===================================================================
+--- gist.orig/gist.gemspec
++++ gist/gist.gemspec
+@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
+   s.email         = ['conrad.irwin at gmail.com', 'rkingist at sharpsaw.org']
+   s.authors       = ['Conrad Irwin', '☈king']
+   s.license       = 'MIT'
+-  s.files         = `git ls-files`.split("\n")
++  s.files         = Dir.glob('bin/**') + Dir.glob('lib/**') + Dir.glob('spec/**') + ['README.md', 'LICENSE.MIT']
+   s.require_paths = ["lib"]
+ 
+   s.executables << 'gist-paste'
diff --git a/debian/patches/series b/debian/patches/series
index 346c2cb..a43b1e9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 rename
 webmock
+gemspec-no-git

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gist.git



More information about the Pkg-ruby-extras-commits mailing list