[Christian Hofstaedtler] Bug#739120: ruby-notmuch: Please update ruby binary extension install path

Subject: [Christian Hofstaedtler] Bug#739120: ruby-notmuch: Please update ruby binary extension install path

Date: Sat, 15 Feb 2014 23:18:26 -0400

To: notmuch@notmuchmail.org, Felipe Contreras

Cc:

From: David Bremner


Any comments Felipe? It's debian specific, and I assume if notmuch vim
still runs with that change, it didn't do any harm.

Package: ruby-notmuch
Version: 0.17-3
Severity: normal
Tags: patch

Dear Maintainer,

When ruby-defaults > 1:2.0 will be uploaded to sid, the version of Ruby
provided by the 'ruby' and 'ruby-dev' packages will change to version 2.0.
This version change includes a change to the path for binary extensions.

Below you'll find a patch that works for Ruby 1.9.1 as well as Ruby 2.0,
so it's safe to apply now.

Thank you,
Christian

diff -Nru notmuch-0.17/debian/ruby-notmuch.install notmuch-0.17/debian/ruby-notmuch.install
--- notmuch-0.17/debian/ruby-notmuch.install       2014-01-12 22:10:04.000000000 +0100
+++ notmuch-0.17/debian/ruby-notmuch.install       2014-02-15 23:28:32.000000000 +0100
@@ -1 +1 @@
-usr/lib/ruby/vendor_ruby/*/*/notmuch.so
+usr/lib/*/*ruby/*/*/notmuch.so


Thread: