[DRE-commits] [ruby-hpricot] 01/02: Always remove unecessary binary extension

Antonio Terceiro terceiro at moszumanska.debian.org
Tue Jan 12 19:40:16 UTC 2016


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

terceiro pushed a commit to branch master
in repository ruby-hpricot.

commit 9dec264e19b0fa419b1eeafe2b8160e9e124cb0a
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Mon Jan 11 12:29:28 2016 -0200

    Always remove unecessary binary extension
    
    Closes: #806191
---
 debian/changelog     | 9 +++++++++
 debian/ruby-tests.rb | 1 -
 debian/rules         | 4 ++++
 3 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index d8c2a89..bf2dfd6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ruby-hpricot (0.8.6-6) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Always remove unecessary binary extension (Closes: #806191)
+    - move its removal from debian/ruby-tests.rb, what is utterly wrong, from
+      override_dh_auto_install in debian/fules
+
+ -- Antonio Terceiro <terceiro at debian.org>  Mon, 11 Jan 2016 12:26:57 -0200
+
 ruby-hpricot (0.8.6-5) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 417af14..c83ae57 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,4 +1,3 @@
 $: << 'test'
-system("find -name fast_xs.so -delete")
 Encoding.default_external = "UTF-8"
 Dir['test/test*.rb'].each { |f| require f }
diff --git a/debian/rules b/debian/rules
index 23dccc2..2f3096c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,7 @@ endif
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	dh_auto_install
+	find debian/ruby-hpricot/ -name fast_xs.so -delete

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



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