Bug 872284

Summary: ruby193-ruby spec file is missing dependency versions.
Product: Red Hat Enterprise Linux 6 Reporter: chris alfonso <calfonso>
Component: rubyAssignee: Vít Ondruch <vondruch>
Status: CLOSED UPSTREAM QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: bkabrda, hbrock, jakub, mfranc, mnewsome
Target Milestone: rc   
Target Release: 6.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-05 12:57:37 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 chris alfonso 2012-11-01 17:43:56 UTC
Description of problem:
ruby193-ruby has packaging issues.  According the the errata tool, versions should be specified on a Requires.  For example:

ruby193-ruby-devel - Subpackage ruby193-ruby-devel on i686 consumes library libruby.so.1.9 from subpackage ruby193-ruby-libs but does not have explicit package version requirement.<br/>Please add Requires: ruby193-ruby-libs = %{version}-%{release} to ruby193-ruby-devel in the specfile to avoid the need to test interoperability between the various combinations of old and new subpackages.


Version-Release number of selected component (if applicable):
ruby193-ruby-1.9.3.194-23.el6

https://errata.devel.redhat.com/rpmdiff/show/69324?result_id=1366705

Comment 2 Marek Polacek 2012-11-02 08:49:56 UTC
Why is this filed against the Developer Toolset?  We don't have ruby in DTS 1.1 (and probably won't have even in 2.0).

Comment 3 chris alfonso 2012-11-02 14:09:43 UTC
I had assumed since it was an SCL package it belonged to the developer toolset.  Any idea where it should be assigned?

Comment 4 Marek Polacek 2012-11-02 15:23:11 UTC
Looks like it's something from OpenShift.

Comment 5 chris alfonso 2012-11-02 15:47:51 UTC
OpenShift doesn't maintain the package, they inherit it from ruby193-rhel06.  I'm not sure who maintains all the ruby193 builds.

Comment 6 Marek Polacek 2012-11-02 17:09:25 UTC
Judging from brew, bkabrda is the one who does all the ruby193 builds.

Comment 7 Bohuslav "Slavek" Kabrda 2012-11-05 07:43:47 UTC
Yes, I'm the maintainer of this package, thanks for reporting.
I see where this problem may show up. Note however, that for some of the mentioned subpackages, this is not true - for example ruby193-ruby-devel has:

Requires:   %{?scl_prefix}%{pkg_name}%{?_isa} = %{version}-%{release}

and %{?scl_prefix}%{pkg_name}%{?_isa} (which is ruby193-ruby) has:

Requires: %{?scl_prefix}%{pkg_name}-libs%{?_isa} = %{version}-%{release}

so transitively, ruby-devel has the right require.
I will add the proper Requires during next update of the package, it that's ok (ruby193 SCL doesn't have any real releases or associated product right now, so I'm not sure how that will work with the 3ack procedure etc...)

Comment 8 Matt Newsome 2012-11-05 10:36:10 UTC
Reassigning to RHEL6 - ruby's not in Developer Toolset.

Comment 10 Bohuslav "Slavek" Kabrda 2012-11-05 12:57:37 UTC
Closing this, as this bug is only confusing people. I will fix the requires in next release of ruby193-ruby.