[DRE-commits] [ruby-kyotocabinet] 01/03: fix patch '0003-fix-test.rb-to-work-with-gem2deb'
Christian Hofstaedtler
zeha at moszumanska.debian.org
Wed Jan 1 15:46:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository ruby-kyotocabinet.
commit 932fdd2a9d8639aa3bb1e47f06359295364405c9
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Wed Jan 1 16:12:27 2014 +0100
fix patch '0003-fix-test.rb-to-work-with-gem2deb'
Previously this would introduce an undefined method error.
---
debian/patches/0003-fix-test.rb-to-work-with-gem2deb.patch | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/debian/patches/0003-fix-test.rb-to-work-with-gem2deb.patch b/debian/patches/0003-fix-test.rb-to-work-with-gem2deb.patch
index 414ac5c..9c646f2 100644
--- a/debian/patches/0003-fix-test.rb-to-work-with-gem2deb.patch
+++ b/debian/patches/0003-fix-test.rb-to-work-with-gem2deb.patch
@@ -7,10 +7,10 @@ Subject: [PATCH 3/5] fix test.rb to work with gem2deb
test.rb | 10 ++++++++++
1 file changed, 10 insertions(+)
-diff --git a/test.rb b/test.rb
-index 17ea4ce..ebf4743 100755
---- a/test.rb
-+++ b/test.rb
+Index: ruby-kyotocabinet/test.rb
+===================================================================
+--- ruby-kyotocabinet.orig/test.rb 2014-01-01 16:08:29.123829594 +0100
++++ ruby-kyotocabinet/test.rb 2014-01-01 16:08:44.219755339 +0100
@@ -29,6 +29,16 @@ formats = [
"kctest.rb misc '%s'",
]
@@ -23,11 +23,8 @@ index 17ea4ce..ebf4743 100755
+ File.unlink "kyotocabinet.so"
+ rescue Errno::ENOENT
+ end
-+end if exists? "kyotocabinet.so"
++end if File.exists? "kyotocabinet.so"
+
system("rm -rf casket*")
rubycmd = Config::CONFIG["bindir"] + "/" + RbConfig::CONFIG['ruby_install_name']
all = confs.size * formats.size
---
-1.7.9.5
-
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-kyotocabinet.git
More information about the Pkg-ruby-extras-commits
mailing list