Bug 674587

Summary: Review Request: rubygem-sqlite3 - Allows Ruby scripts to interface with a SQLite3 database
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: Package ReviewAssignee: Mo Morsi <mmorsi>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, mmorsi, notting, tdawson
Target Milestone: ---Flags: mmorsi: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-07 05:29:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 667954    

Description Vít Ondruch 2011-02-02 15:09:58 UTC
Spec URL: http://people.redhat.com/vondruch/rubygem-sqlite3.spec
SRPM URL: http://people.redhat.com/vondruch/rubygem-sqlite3-1.3.3-1.fc14.src.rpm

Description: 
SQLite3/Ruby is a module to allow Ruby scripts to interface with a SQLite3 database.

Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=2757035

Comment 1 Mo Morsi 2011-02-02 19:54:03 UTC
Will take this one. The package builds fine in koji. Most review guidelines pass except for the following

* URL and Source0 are wrong, still referring to the sqlite3-ruby package ones, please update to new locations: http://rubygems.org/gems/sqlite3

* you can remove the BuildRoot tag and the "rm -rf %{buildroot}" at the beginning of %install

* please change "%define ruby_sitearch" to "%global ruby_sitearch" at the top of the spec file

* rpmlint looks good

> $ rpmlint rpmbuild/RPMS/x86_64/rubygem-sqlite3-* rpmbuild/SRPMS/rubygem-sqlite3-1.3.3-1.fc14.src.rpm 
> rubygem-sqlite3.x86_64: I: enchant-dictionary-not-found en_US

Can be ignored

> rubygem-sqlite3.x86_64: W: obsolete-not-provided rubygem-sqlite3-ruby

Believe this is what we intend and can be ignored.

> rubygem-sqlite3-doc.x86_64: W: unexpanded-macro /usr/lib/ruby/gems/1.8/doc/sqlite3-1.3.3/ri/SQLite3/Database/authorizer%3d-i.yaml %3d

Can be ignored 

> rubygem-sqlite3.src:22: W: unversioned-explicit-obsoletes rubygem-sqlite3-ruby

I believe we can ignore this as we should retire the rubygem-sqlite3-ruby package after this.


Everything else looks good.

Comment 2 Mamoru TASAKA 2011-02-03 09:04:32 UTC
(In reply to comment #1)
> 
> > rubygem-sqlite3.src:22: W: unversioned-explicit-obsoletes rubygem-sqlite3-ruby
> 
> I believe we can ignore this as we should retire the rubygem-sqlite3-ruby
> package after this.
> 

Well, the upstream may change his thought again and may change the name
(although unlikely), so adding version to Obsoletes like
"Obsoletes: rubygem-sqlite3-ruby < 1.3.3" is anyway safer (and adding the
version should cause no problem). Note that missing version on Obsoletes
has causes some nasty problems in the past on other package.

Comment 3 Vít Ondruch 2011-02-03 10:27:31 UTC
(In reply to comment #1)
> Will take this one. The package builds fine in koji. Most review guidelines
> pass except for the following
> 
> * URL and Source0 are wrong, still referring to the sqlite3-ruby package ones,
> please update to new locations: http://rubygems.org/gems/sqlite3

I have updated the Source0 link, however I updated the URL just slightly, still left it pointing to rubyforge as long as it is not clear what is homepage of this project. I have risen upstream ticket for clarification: https://github.com/luislavena/sqlite3-ruby/issues/issue/26


> * you can remove the BuildRoot tag and the "rm -rf %{buildroot}" at the
> beginning of %install

Done

> * please change "%define ruby_sitearch" to "%global ruby_sitearch" at the top
> of the spec file

Done

> * rpmlint looks good
> 
> > $ rpmlint rpmbuild/RPMS/x86_64/rubygem-sqlite3-* rpmbuild/SRPMS/rubygem-sqlite3-1.3.3-1.fc14.src.rpm 
> > rubygem-sqlite3.x86_64: I: enchant-dictionary-not-found en_US
> 
> Can be ignored
> 
> > rubygem-sqlite3.x86_64: W: obsolete-not-provided rubygem-sqlite3-ruby
> 
> Believe this is what we intend and can be ignored.
> 
> > rubygem-sqlite3-doc.x86_64: W: unexpanded-macro /usr/lib/ruby/gems/1.8/doc/sqlite3-1.3.3/ri/SQLite3/Database/authorizer%3d-i.yaml %3d
> 
> Can be ignored 
> 
> > rubygem-sqlite3.src:22: W: unversioned-explicit-obsoletes rubygem-sqlite3-ruby
> 
> I believe we can ignore this as we should retire the rubygem-sqlite3-ruby
> package after this.

Version added according to Mamoru's hint. However now, rpmlint complains:
rubygem-sqlite3.x86_64: W: obsolete-not-provided rubygem-sqlite3-ruby

This should be probably ignored as Mamoru stated in email:

- on rawhide (on rawhide only) rubygem-sqlite3 should obsolete 
  rubygem-sqlite3-ruby (Provides: rubygem(sqlite3-ruby) should _not_ be added
  to rubygem-sqlite3, just obsolete rubygem-sqlite3-ruby) 

and I am going to push this gem just for rawhide.

> Everything else looks good.

Spec URL: http://people.redhat.com/vondruch/rubygem-sqlite3.spec
SRPM URL:
http://people.redhat.com/vondruch/rubygem-sqlite3-1.3.3-2.fc14.src.rpm

Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=2759569

Comment 4 Mo Morsi 2011-02-03 17:05:54 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Will take this one. The package builds fine in koji. Most review guidelines
> > pass except for the following
> > 
> > * URL and Source0 are wrong, still referring to the sqlite3-ruby package ones,
> > please update to new locations: http://rubygems.org/gems/sqlite3
> 
> I have updated the Source0 link, however I updated the URL just slightly, still
> left it pointing to rubyforge as long as it is not clear what is homepage of
> this project. I have risen upstream ticket for clarification:
> https://github.com/luislavena/sqlite3-ruby/issues/issue/26
> 

Hrm ok, but 'homepage' for the project at http://rubygems.org/gems/sqlite3 points to https://github.com/luislavena/sqlite3-ruby . Please consider changing this before pushing (or once the upstream bug you filed is resolved).


> Version added according to Mamoru's hint. However now, rpmlint complains:
> rubygem-sqlite3.x86_64: W: obsolete-not-provided rubygem-sqlite3-ruby
> 
> This should be probably ignored as Mamoru stated in email:
> 
> - on rawhide (on rawhide only) rubygem-sqlite3 should obsolete 
>   rubygem-sqlite3-ruby (Provides: rubygem(sqlite3-ruby) should _not_ be added
>   to rubygem-sqlite3, just obsolete rubygem-sqlite3-ruby) 
> 
> and I am going to push this gem just for rawhide.

Sounds good.

> 
> Spec URL: http://people.redhat.com/vondruch/rubygem-sqlite3.spec
> SRPM URL:
> http://people.redhat.com/vondruch/rubygem-sqlite3-1.3.3-2.fc14.src.rpm
> 
> Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=2759569

This Koji url refers to the -1 build, I verified -2 works as well

http://koji.fedoraproject.org/koji/taskinfo?taskID=2760161


Everything looks good.


APPROVED

Comment 5 Vít Ondruch 2011-02-04 07:58:35 UTC
Thank you for your review!


New Package SCM Request
=======================
Package Name: rubygem-sqlite3
Short Description: Allows Ruby scripts to interface with a SQLite3 database
Owners: vondruch
Branches: 
InitialCC:

Comment 6 Kevin Fenzi 2011-02-06 22:54:43 UTC
Git done (by process-git-requests).

Comment 7 Troy Dawson 2014-08-06 17:34:21 UTC
Package Change Request
======================
Package Name: rubygem-sqlite3
New Branches: epel7
Owners: tdawson

Comment 8 Gwyn Ciesla 2014-08-06 18:44:36 UTC
Git done (by process-git-requests).