Bug 713159

Summary: Review Request: rubygem-rbvmomi - Ruby interface to the VMware vSphere API
Product: [Fedora] Fedora Reporter: Michal Fojtik <mfojtik>
Component: Package ReviewAssignee: Vít Ondruch <vondruch>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: clalance, fedora-package-review, fvollero, mzatko, notting, tdawson, vondruch
Target Milestone: ---Flags: vondruch: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-rbvmomi-1.2.3-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-22 19:37:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Fojtik 2011-06-14 14:09:53 UTC
Spec URL: http://mifo.sk/tmp/packages/rubygem-rbvmomi.spec
SRPM URL: http://mifo.sk/tmp/packages/rubygem-rbvmomi-1.2.3-1.fc14.src.rpm
Description: 

Ruby interface to the VMware vSphere API

Comment 1 Maros Zatko 2011-06-21 16:55:08 UTC
looks good (after informal review)

Comment 3 Vít Ondruch 2011-06-21 17:03:27 UTC
Taking this for review.

Comment 4 Vít Ondruch 2011-06-22 10:31:58 UTC
* Please remove ruby_sitelib definition
  - This macro is useful only for gems with binary extension, which is not 
    this case
* License
  - According to LICENSE file, the license should be MIT
* Requires versions:
  - Please remove the >= 0 versions, which is default
* Each Ruby package must indicate the Ruby ABI version it depends on
  - Please add Requires and BuildRequires: ruby(abi) = 1.8
  - I prefer also to depend explicitly on ruby, since JRuby are probably comming
    into Fedora soon
* Please install gem with --bindir flag
  - --bindir .%{_bindir} should be used instead of some magic lines which moves
    the executables around.
* Please execute the test suite.
  - This needs:
    BuildRequires: rubygem(nokogiri) >= 1.4.1
    BuildRequires: rubygem(builder)
  - and the %check section:
    %check
    pushd %{buildroot}%{geminstdir}
    testrb -I lib test/test_*.rb
    popd
* What is the puprose of vmodl.db file?
  - Is it necessary for runtime?
  - Is it database?
  - Is it readonly or should it be modifiable?
  - It seems to be referenced inrbvmomi/devel/analyze-vim-declarations.rb so it
    looks like some debug output to me.

Comment 5 Vít Ondruch 2011-07-08 14:33:37 UTC
*** Bug 719949 has been marked as a duplicate of this bug. ***

Comment 6 Francesco Vollero 2011-07-11 13:47:03 UTC
Hi Vit Ondruch,

I am submitting the new version of spec file with the suggestions/bugfix you suggested.

http://crucco.razorinc.org/fedora/rubygem-rbvmomi-1.2.3.spec
http://crucco.razorinc.org/fedora/rubygem-rbvmomi-1.2.3-2.fc14.src.rpm


Let me know if it's all you need.

Thanks.

Comment 7 Vít Ondruch 2011-07-12 07:23:26 UTC
* It doesn't look like you have uploaded the updated .spec file. However 
  that is not a showstopper. I'll take the .spec from .srpm for review.

* MUST: The spec file name must match the base package %{name}, in the format
  %{name}.spec unless your package has an exemption.
  - i.e. please name rename rubygem-rbvmomi-1.2.3.spec => rubygem-rbvmomi.spec


rpmlint output OK.
Koji build OK: http://koji.fedoraproject.org/koji/taskinfo?taskID=3193050


Please don't forget to rename the .spec file before import. Otherwise the package looks good, so it is APPROVED

Comment 8 Michal Fojtik 2011-07-15 10:19:21 UTC
New Package CVS Request
=======================
Package Name: rubygem-rbvmomi
Short Description: Ruby interface to the VMware vSphere API
Owners: mfojtik
Branches: F-14 F-15 EL-5 El-6

Comment 9 Gwyn Ciesla 2011-07-15 14:15:53 UTC
Git done (by process-git-requests).

Corrected EL-6 branch name.

Comment 10 Fedora Update System 2011-07-19 08:15:15 UTC
rubygem-rbvmomi-1.2.3-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/rubygem-rbvmomi-1.2.3-2.fc14

Comment 11 Fedora Update System 2011-07-22 19:37:07 UTC
rubygem-rbvmomi-1.2.3-2.fc14 has been pushed to the Fedora 14 stable repository.

Comment 12 Troy Dawson 2014-12-18 23:35:09 UTC
Package Change Request
======================
Package Name: rubygem-rbvmomi
New Branches: epel7
Owners: tdawson

Comment 13 Gwyn Ciesla 2014-12-19 13:24:54 UTC
Git done (by process-git-requests).