Bug 1261931 - drop rubygem-json sub-package
Summary: drop rubygem-json sub-package
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ruby
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeroen van Meeuwen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-10 13:03 UTC by Daniel Mach
Modified: 2015-09-11 10:00 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-11 10:00:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Mach 2015-09-10 13:03:54 UTC
rubygem-json RPMs exist in 2 versions:
* sub-package of ruby
* standalone package

The version included in ruby package is lower than the standalone one,
therefore it never gets installed.

Can you drop rubygem-json sub-package from ruby?



Details:

$ koji buildinfo ruby-2.2.3-44.fc23 | grep rubygem-json
/mnt/koji/packages/ruby/2.2.3/44.fc23/i686/rubygem-json-1.8.1-44.fc23.i686.rpm
/mnt/koji/packages/ruby/2.2.3/44.fc23/x86_64/rubygem-json-1.8.1-44.fc23.x86_64.rpm
/mnt/koji/packages/ruby/2.2.3/44.fc23/armv7hl/rubygem-json-1.8.1-44.fc23.armv7hl.rpm


$ koji buildinfo rubygem-json-1.8.2-101.fc23 | grep rubygem-json
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/i686/rubygem-json-debuginfo-1.8.2-101.fc23.i686.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/i686/rubygem-json-doc-1.8.2-101.fc23.i686.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/i686/rubygem-json-1.8.2-101.fc23.i686.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/x86_64/rubygem-json-debuginfo-1.8.2-101.fc23.x86_64.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/x86_64/rubygem-json-doc-1.8.2-101.fc23.x86_64.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/x86_64/rubygem-json-1.8.2-101.fc23.x86_64.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/armv7hl/rubygem-json-doc-1.8.2-101.fc23.armv7hl.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/armv7hl/rubygem-json-debuginfo-1.8.2-101.fc23.armv7hl.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/armv7hl/rubygem-json-1.8.2-101.fc23.armv7hl.rpm
/mnt/koji/packages/rubygem-json/1.8.2/101.fc23/src/rubygem-json-1.8.2-101.fc23.src.rpm

Comment 1 Vít Ondruch 2015-09-11 10:00:53 UTC
(In reply to Daniel Mach from comment #0)
> rubygem-json RPMs exist in 2 versions:
> * sub-package of ruby
> * standalone package

True.

> The version included in ruby package is lower than the standalone one,
> therefore it never gets installed.

This is true at the moment. But might change in the future. Please note that the similar situation is in case of rubygems, rubygem-rake, rubygem-minitest and rubygem-rdoc and while I prefer to use the bundled version, sometimes it is beneficial to bump the independent version.

For example recently, there was RubyGems security issue which was not fixed in rubygems package bundled in ruby for some while. And in this situation came handy the independent version, where we could bump the version to the latest upstream version fixing this issue quite easily.

Moreover, keeping the rubygem-json subpackage in is essential for bootstrapping Ruby, since RubyGems depends on rubygem-json. We would not be able to create any other rubygem- package without rubygem-json.

> Can you drop rubygem-json sub-package from ruby?

From my previous words, you can already guess that my answer is *no*. Dropping the package serves no benefit IMO.


Note You need to log in before you can comment on or make changes to this bug.