Bug 1261931

Summary: drop rubygem-json sub-package
Product: [Fedora] Fedora Reporter: Daniel Mach <dmach>
Component: rubyAssignee: Jeroen van Meeuwen <vanmeeuwen+fedora>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jstribny, mmorsi, mtasaka, s, tagoh, vanmeeuwen+fedora, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-11 10:00:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.