Christian Hofstaedtler <z...@debian.org> writes:

> I've attached a patch that uses dh_ruby to build the Ruby extensions; I
> haven't done any further checking other than "it builds".

> Note that this still builds with `--enable-ruby` to get `extconf.rb` in
> ruby/, and then `make install` ends up installing an additional copy
> of the .so into a weird path in debian/tmp. (dh_ruby takes care of
> installing into the correct paths in debian/ruby-remctl.)

Awesome, thank you!  That's just what I was looking for.  I didn't know
that dh_ruby could deal with that build system and deal with the root
being a subdirectory.  Very nice.

The only thing I had to change is that dh_ruby isn't actually
automatically invoked by adding the ruby sequence, since it expects
debhelper to see Ruby as the top-level build system.  So I had to add an
explicit call to dh_ruby --install in the override_dh_install rule.  But
then everything worked great.

I also added the XB-Ruby-Versions header, since that seems to be best
practice these days (although I didn't manage to find it in the Ruby
packaging policy).

Now uploaded, with ruby-remctl built against 2.0 and 2.1.  Thank you for
your work on this!

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to