[DRE-commits] [SCM] ruby-lapack.git branch, master, updated. debian/1.5-1-2-gad7579e

Youhei SASAKI uwabami at gfd-dennou.org
Fri Jul 22 07:35:34 UTC 2011


The following commit has been merged in the master branch:
commit ad7579e58d59df048116134d0a63b84ea1711ac8
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Fri Jul 22 16:34:32 2011 +0900

    fix ruby-tests.rb/remove unneeded make target
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 0982d48..2b4d501 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,6 +1,5 @@
-if RUBY_VERSION <= '1.9.0'
-  system("#{ENV['RUBY_TEST_BIN']} -Itest-lib /usr/bin/testrb1.8 tests/")
+if ENV['RUBY_TEST_BIN'] == '/usr/bin/ruby1.8'
+  system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-lapack/usr/lib/ruby/vendor_ruby /usr/bin/testrb1.8 tests/") or raise
 else
-  system("#{ENV['RUBY_TEST_BIN']} -Itest-lib /usr/bin/testrb1.9.1 tests/")
+  system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-lapack/usr/lib/ruby/vendor_ruby /usr/bin/testrb1.9.1 tests/") or raise
 end
-exit($?)
diff --git a/debian/rules b/debian/rules
index dba64b8..9d7f3da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,15 +3,5 @@
 %:
 	dh $@ --buildsystem=ruby --with ruby
 
-override_dh_auto_build:
-	# I know, it's dirty hack ... :-/
-	mkdir -p $(CURDIR)/test-lib/numru
-	ln -s ../../ext/lapack.so $(CURDIR)/test-lib/numru/
-	
-
 override_dh_strip:
 	dh_strip --dbg-package=ruby-lapack-dbg
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -fr $(CURDIR)/test-lib

-- 
ruby-lapack.git



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