You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more or less RubyGems which makes some assumption and prefers platform specific version of gem. But for packaging, you should always do gem fetch google-protobug --platform=ruby for gems which provides platform specific versions of gems.
However, not sure if gem2rpm -f google-protobuf > ~/rpmbuild/SPECS/protobuf.spec (the -f param makes gem2rpm to fetch the package) is doing the right thing.
Hi,
You are right, and I am sorry :) -f seems to work fine. May I still suggest failing with an error message instead of generating a .spec file that does not work?
I don't target 100% success rate for gem2rpm. But this is definitely interesting case, so I'll keep this ticket open and will see what we can do about it.
This is in fedora 27. Looks like gem2rpm makes some assumptions about the name of the gem file which is not right for this package.
The text was updated successfully, but these errors were encountered: