[DRE-commits] [ruby-unf-ext] 05/06: Add patch: Relace git execution in gemspec
Youhei SASAKI
uwabami-guest at moszumanska.debian.org
Tue Feb 9 17:12:16 UTC 2016
This is an automated email from the git hooks/post-receive script.
uwabami-guest pushed a commit to annotated tag debian/0.0.7.2-1
in repository ruby-unf-ext.
commit 5e26ad63f0a2386ec07062ddb226d39bce1fe01a
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date: Wed Feb 10 02:09:07 2016 +0900
Add patch: Relace git execution in gemspec
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
debian/patches/0001-Drop-Bundler-depndencies.patch | 6 ++++--
.../0002-force-using-CXX-instead-of-CC.patch | 8 +++++---
.../0003-Replace-git-execution-in-gemspec.patch | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/debian/patches/0001-Drop-Bundler-depndencies.patch b/debian/patches/0001-Drop-Bundler-depndencies.patch
index d1d96b9..3c55287 100644
--- a/debian/patches/0001-Drop-Bundler-depndencies.patch
+++ b/debian/patches/0001-Drop-Bundler-depndencies.patch
@@ -5,9 +5,11 @@ Subject: Drop Bundler depndencies
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
- test/helper.rb | 12 ------------
- 1 file changed, 12 deletions(-)
+ test/helper.rb | 9 ---------
+ 1 file changed, 9 deletions(-)
+diff --git a/test/helper.rb b/test/helper.rb
+index 2f7bd8a..ac27407 100644
--- a/test/helper.rb
+++ b/test/helper.rb
@@ -1,12 +1,3 @@
diff --git a/debian/patches/0002-force-using-CXX-instead-of-CC.patch b/debian/patches/0002-force-using-CXX-instead-of-CC.patch
index 44d5756..2d686b1 100644
--- a/debian/patches/0002-force-using-CXX-instead-of-CC.patch
+++ b/debian/patches/0002-force-using-CXX-instead-of-CC.patch
@@ -4,12 +4,14 @@ Subject: force using g++ instead of gcc
Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
- ext/unf_ext/extconf.rb | 10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
+ ext/unf_ext/extconf.rb | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+diff --git a/ext/unf_ext/extconf.rb b/ext/unf_ext/extconf.rb
+index 9068085..8b1c06b 100644
--- a/ext/unf_ext/extconf.rb
+++ b/ext/unf_ext/extconf.rb
-@@ -10,9 +10,9 @@
+@@ -10,9 +10,9 @@ create_makefile 'unf_ext'
unless CONFIG['CXX']
case CONFIG['CC']
diff --git a/debian/patches/0003-Replace-git-execution-in-gemspec.patch b/debian/patches/0003-Replace-git-execution-in-gemspec.patch
new file mode 100644
index 0000000..d79d8b9
--- /dev/null
+++ b/debian/patches/0003-Replace-git-execution-in-gemspec.patch
@@ -0,0 +1,22 @@
+From: Youhei SASAKI <uwabami at gfd-dennou.org>
+Date: Wed, 10 Feb 2016 02:08:21 +0900
+Subject: Replace git execution in gemspec
+
+Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
+---
+ unf_ext.gemspec | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/unf_ext.gemspec b/unf_ext.gemspec
+index 28f6eda..65212e6 100644
+--- a/unf_ext.gemspec
++++ b/unf_ext.gemspec
+@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
+ gem.homepage = "https://github.com/knu/ruby-unf_ext"
+ gem.licenses = ["MIT"]
+
+- gem.files = `git ls-files`.split($/)
++ gem.files = [".document", ".gitignore", ".travis.yml", "CHANGELOG.md", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "ext/unf_ext/extconf.rb", "ext/unf_ext/unf.cc", "ext/unf_ext/unf/normalizer.hh", "ext/unf_ext/unf/table.hh", "ext/unf_ext/unf/trie/char_stream.hh", "ext/unf_ext/unf/trie/node.hh", "ext/unf_ext/unf/trie/searcher.hh", "ext/unf_ext/unf/util.hh", "lib/unf_ext.rb", "lib/unf_ext/version.rb", "metadata.yml", "test/helper.rb", "test/normalization-test.txt", "test/t [...]
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/}).grep(%r{/test_[^/]+\.rb$})
+ gem.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
index 26334f2..2b1cc2b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Drop-Bundler-depndencies.patch
0002-force-using-CXX-instead-of-CC.patch
+0003-Replace-git-execution-in-gemspec.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-unf-ext.git
More information about the Pkg-ruby-extras-commits
mailing list