New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add generate gemspec task #1078

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
3 participants
@kou

This comment has been minimized.

Show comment
Hide comment
@kou

kou Jul 27, 2017

Member

It seems that your patch already uses dh_ruby. Could you explain why you need .gemspec?

Member

kou commented Jul 27, 2017

It seems that your patch already uses dh_ruby. Could you explain why you need .gemspec?

@dai-vdr

This comment has been minimized.

Show comment
Hide comment
@dai-vdr

dai-vdr Jul 27, 2017

Contributor

I thought I simply used dh_ruby to generate .gemspec from source at first, but it did not do.
So I read dh_ruby code and found it required upstream created or Debian maintainer prepared .gemspec to generate package's .gemspec.
It means dh_ruby does not generate but convert .gemspec.

https://anonscm.debian.org/cgit/pkg-ruby-extras/gem2deb.git/tree/lib/gem2deb/metadata.rb?h=0.35#n29
https://anonscm.debian.org/cgit/pkg-ruby-extras/gem2deb.git/tree/lib/gem2deb/metadata.rb?h=0.35#n104
https://anonscm.debian.org/cgit/pkg-ruby-extras/gem2deb.git/tree/lib/gem2deb/installer.rb?h=0.35#n74

Contributor

dai-vdr commented Jul 27, 2017

I thought I simply used dh_ruby to generate .gemspec from source at first, but it did not do.
So I read dh_ruby code and found it required upstream created or Debian maintainer prepared .gemspec to generate package's .gemspec.
It means dh_ruby does not generate but convert .gemspec.

https://anonscm.debian.org/cgit/pkg-ruby-extras/gem2deb.git/tree/lib/gem2deb/metadata.rb?h=0.35#n29
https://anonscm.debian.org/cgit/pkg-ruby-extras/gem2deb.git/tree/lib/gem2deb/metadata.rb?h=0.35#n104
https://anonscm.debian.org/cgit/pkg-ruby-extras/gem2deb.git/tree/lib/gem2deb/installer.rb?h=0.35#n74

@kou

This comment has been minimized.

Show comment
Hide comment
@kou

kou Jul 31, 2017

Member

Ah, are you using https://sourceforge.net/projects/ruby-gnome2/files/ruby-gnome2/ruby-gnome2-3.1.8/ruby-gnome2-all-3.1.8.tar.gz/download instead of *.gem to create *.deb?

We recommend that you use *.gem to create *.deb. *.gem includes *.gemspec.

Our *.tar.gz is provided only for old style system. We recommend that users including packagers use *.gem instead of *.tar.gz.

Member

kou commented Jul 31, 2017

Ah, are you using https://sourceforge.net/projects/ruby-gnome2/files/ruby-gnome2/ruby-gnome2-3.1.8/ruby-gnome2-all-3.1.8.tar.gz/download instead of *.gem to create *.deb?

We recommend that you use *.gem to create *.deb. *.gem includes *.gemspec.

Our *.tar.gz is provided only for old style system. We recommend that users including packagers use *.gem instead of *.tar.gz.

@dai-vdr

This comment has been minimized.

Show comment
Hide comment
@dai-vdr

dai-vdr Jul 31, 2017

Contributor

Thank you for your explain. I understand it.
I will forward your message to Debian Ruby ML and discuss future ruby-gnome2 debs.

Contributor

dai-vdr commented Jul 31, 2017

Thank you for your explain. I understand it.
I will forward your message to Debian Ruby ML and discuss future ruby-gnome2 debs.

@dai-vdr dai-vdr closed this Jul 31, 2017

@kou

This comment has been minimized.

Show comment
Hide comment
@kou

kou Jul 31, 2017

Member

Thanks! If Debian packagers have extra questions, please open a new issue.

Member

kou commented Jul 31, 2017

Thanks! If Debian packagers have extra questions, please open a new issue.

@terceiro

This comment has been minimized.

Show comment
Hide comment
@terceiro

terceiro Jul 31, 2017

FTR the reason Debian currently uses the source tarball is because ruby-gnome2 has been in Debian since before rubygems itself was a thing.

terceiro commented Jul 31, 2017

FTR the reason Debian currently uses the source tarball is because ruby-gnome2 has been in Debian since before rubygems itself was a thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment