[DRE-maint] Bug#632553: Bug#632553: gem2deb: dh_ruby ignores install directory

Stig Sandbeck Mathisen ssm at debian.org
Thu Jul 21 09:21:15 UTC 2011


Antonio Terceiro <terceiro at softwarelivre.org> writes:

> I guess you can do this providing a custom .gemspec that specifies an
> empty list of extensions. See dh_ruby(1) in gem2deb 0.2.6 (not
> released yet).

I'll take a look at that, and see how it works. There is no gemspec in
use now, as far as I know. (The upstream is a git branch, and not a gem)

>> * Having --sbindir in addition to --bindir would be nice. The puppet
>> source has bin/ and sbin/ directories.
>
> I'm not sure what you mean here ...
>
> Anyway you can install the stuff in sbin/ with
> debian/$package.install.

Yes, that's an acceptable workaround.

> I'm not sure about adding support for that in gem2deb since sbin/ is
> not usually used in Ruby packages. How does puppet upstream install
> the files in sbin/?

For the moment, the upstream install.rb is used with --sbindir.
(https://github.com/puppetlabs/puppet/blob/master/install.rb)

-- 
Stig Sandbeck Mathisen <ssm at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20110721/45c03051/attachment.pgp>


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