[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ruby-cmdparse [was:] help welcome



Am / On Tue, 10 Nov 2020 21:57:41 +0530
schrieb / wrote Pirate Praveen <praveen@onenetbeyond.org>:

> On 2020, നവംബർ 10 9:23:45 PM IST, Daniel Leidert
> <dleidert@debian.org> wrote:
> >Ok. The github sources don't contain a .gemspec file but
> >the gem does. The .gemspec is created by a rake task in
> >Rakefile.
> >
> >Three options:
> >1) Add a patch to create the .gemspec file.
> >2) Run the rake task to create the gemspec file in
> >debian/rules 3) Instead of using the github sources use
> >the gem (delete the upstream/3.0.6 tag and re-import the
> >source using the gem -> debian/watch needs to be
> >reverted to using gemwatch ... I know, sorry)  
> 
> See ruby-nokogiri for extracting gemspec from the gem.

gem can do this itself, as I found in the manpage:

gem spec cmdparse-3.0.6.gem --ruby > cmdparse.gemspec

Klaumi


-----
Klaumi Klingsporn
mail: klaumikli@gmx.de
web: www.klaumikli.de


Reply to: