[DRE-commits] [ruby-toml] 02/03: Add patch: fix gemspec exectue `git ls-files`

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Wed Nov 4 11:51:50 UTC 2015


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

uwabami-guest pushed a commit to branch master
in repository ruby-toml.

commit 2593fcd5066ba19b954379067a3546d6a749611d
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Wed Nov 4 20:49:19 2015 +0900

    Add patch: fix gemspec exectue `git ls-files`
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 .../0002-Replace-gemspec-git-execution.patch       | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0002-Replace-gemspec-git-execution.patch b/debian/patches/0002-Replace-gemspec-git-execution.patch
new file mode 100644
index 0000000..58da6d7
--- /dev/null
+++ b/debian/patches/0002-Replace-gemspec-git-execution.patch
@@ -0,0 +1,22 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Wed, 4 Nov 2015 20:47:44 +0900
+Subject: Replace gemspec git execution
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ toml.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/toml.gemspec b/toml.gemspec
+index 420799f..f7b842f 100644
+--- a/toml.gemspec
++++ b/toml.gemspec
+@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
+ 
+   s.add_development_dependency "rake"
+ 
+-  all_files       = `git ls-files -z`.split("\x0")
++  all_files       = [".gitignore",".travis.yml","CHANGELOG.md","Gemfile","LICENSE","README.md","Rakefile","lib/toml.rb","lib/toml/generator.rb","lib/toml/key.rb","lib/toml/monkey_patch.rb","lib/toml/parser.rb","lib/toml/parslet.rb","lib/toml/table.rb","lib/toml/transformer.rb","lib/toml/version.rb","script/bootstrap","script/cibuild","script/console","script/toml-test-decoder-interface.rb","script/toml-test-encoder-interface.rb","test/empty.toml","test/hard_example.toml","test/spec.toml [...]
+   s.files         = all_files.grep(%r{^(bin|lib)/})
+   s.executables   = all_files.grep(%r{^bin/}) { |f| File.basename(f) }
+   s.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
index 6e4bd6d..dd7af58 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Drop-RubyGems-And-Bundler-Dependencies.patch
+0002-Replace-gemspec-git-execution.patch

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



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