Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1414002

Summary: Review Request: rubygem-ruby_version - Adds the RubyVersion pseudo-constant
Product: [Fedora] Fedora Reporter: František Dvořák <valtri>
Component: Package ReviewAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review
Target Milestone: ---Flags: mtasaka: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-25 13:52:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1414004    

Description František Dvořák 2017-01-17 14:24:40 UTC
Spec URL:
Description: Provides a RubyVersion class to simplify checking for the right Ruby version in your programs.
Fedora Account System Username: valtri

COPR build:

Comment 1 Mamoru TASAKA 2017-01-17 14:54:24 UTC

I would appreciate it if you would review my review request (bug 1409355)

Comment 2 Mamoru TASAKA 2017-01-20 07:23:19 UTC
Well, a simple gem based rpm.

Some requests:
* Exclude files not needed for runtime
  The following files are not needed and for developing purpose
  (mainly for test suite). Please consider to remove the below.

  - %{gem_instdir}/spec/
  - %{gem_instdir}/Gemfile
  - %{gem_instdir}/Gemfile.lock
  - %{gem_instdir}/Rakefile

   Note that for spec/ directory, curret ruby guideline requests
   that test files should not be packaged:
   See "Do not ship tests".

Otherwise okay.

Comment 3 Mamoru TASAKA 2017-01-20 09:13:37 UTC
* Additionally:
  - Also consider to remove %{gem_instdir}/ruby_version.gemspec , this is
    not needed for runtime
    (%{gem_spec} is needed, of course)

Comment 4 Mamoru TASAKA 2017-01-22 14:48:33 UTC
Just update the %files list, then I can approve this package.

Comment 5 František Dvořák 2017-01-23 16:29:30 UTC
Thanks for the review! I will review rubygem-tk package yet...

Updated version:

Spec URL:

* Mon Jan 23 2017 František Dvořák <> - 1.0.1-2
- Exclude unnecessary files

Comment 6 Mamoru TASAKA 2017-01-24 09:20:22 UTC

* license okay (MIT)
* spec file clean
* source matches upstream
* builds fine
* installation fine
* rpmlint sane
* general functionality okay

$ ruby -e 'require "ruby_version" ; p > "2.3"'

  This package (rubygem-ruby_version) is APPROVED
  by mtasaka

Comment 7 Gwyn Ciesla 2017-01-25 13:18:56 UTC
Package request has been approved: