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 - Review Request: rubygem-ruby_version - Adds the RubyVersion pseudo-constant
Summary: Review Request: rubygem-ruby_version - Adds the RubyVersion pseudo-constant
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1414004
TreeView+ depends on / blocked
Reported: 2017-01-17 14:24 UTC by František Dvořák
Modified: 2017-01-25 13:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-01-25 13:52:37 UTC
Type: ---
mtasaka: fedora-review+

Attachments (Terms of Use)

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:

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