[DRE-commits] [ruby-net-telnet] 07/07: remove git usage from gemspec
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Jan 20 21:08:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-net-telnet.
commit 9450abd43e68afb72b639eb8084c9574027dd5c6
Author: Antonio Terceiro <terceiro at debian.org>
Date: Wed Jan 20 19:03:19 2016 -0200
remove git usage from gemspec
---
debian/patches/dont-use-git-in-gemspec.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 19 insertions(+)
diff --git a/debian/patches/dont-use-git-in-gemspec.patch b/debian/patches/dont-use-git-in-gemspec.patch
new file mode 100644
index 0000000..fff7e0d
--- /dev/null
+++ b/debian/patches/dont-use-git-in-gemspec.patch
@@ -0,0 +1,18 @@
+Description: remove git usage from gemspec
+Author: Antonio Terceiro <terceiro at debian.org>
+Origin: vendor
+Forwarded: no
+Last-Update: 2016-01-20
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/net-telnet.gemspec
++++ b/net-telnet.gemspec
+@@ -13,7 +13,7 @@ Gem::Specification.new do |spec|
+ spec.description = %q{Provides telnet client functionality.}
+ spec.homepage = "https://github.com/ruby/net-telnet"
+
+- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
++ spec.files = Dir.glob('**/*').reject { |f| f.match(%r{^(debian|test|spec|features)/}) }
+ spec.bindir = "exe"
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+ spec.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bc1fa61
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dont-use-git-in-gemspec.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-net-telnet.git
More information about the Pkg-ruby-extras-commits
mailing list