[DRE-maint] copyright for setup.rb

Antonio Terceiro terceiro at softwarelivre.org
Thu Jan 29 15:22:28 UTC 2009


Ryan Niebur escreveu isso aí:
> On Wed, Jan 28, 2009 at 12:55:33AM -0800, Bryan McLellan wrote:
> > On Wed, Jan 28, 2009 at 12:46 AM, Lucas Nussbaum
> > <lucas at lucas-nussbaum.net> wrote:
> > > On 28/01/09 at 00:38 -0800, Bryan McLellan wrote:
> > >> When you have to add setup.rb from libsetup-ruby1.8 a package due to
> > >> it missing, should you add the copyright information for setup.rb to
> > >> debian/copyright?
> > >
> > > Why don't you just build-depends on libsetup-ruby1.8?
> > 
> > And "include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk" ?
> > 
> 
> why not just use it as "ruby /usr/lib/ruby/1.8/setup.rb"? 

For the record, doing that does not work. setup.rb assumes that __FILE__
is in the same directory as the packages to be acted upon. The CDBS
class creates a symlink in the root directory of the package before
calling setup.rb because of that.

-- 
Antonio Terceiro <terceiro at softwarelivre.org>
http://people.softwarelivre.org/~terceiro/
GnuPG ID: 0F9CB28F


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20090129/9bedb596/attachment.pgp 


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