Bug 639272

Summary: Review Request: rubygem-rack-accept - HTTP Accept for Ruby/Rack
Product: [Fedora] Fedora Reporter: Michal Fojtik <mfojtik>
Component: Package ReviewAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, mfojtik, mmorsi, notting
Target Milestone: ---Flags: mtasaka: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-rack-accept-0.4.3-5.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-19 07:07:39 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:

Description Michal Fojtik 2010-10-01 10:23:04 UTC
Spec URL: http://mifo.sk/RPMS/rubygem-rack-accept.spec
SRPM URL: http://mifo.sk/RPMS/rubygem-rack-accept-0.4.3-1.fc13.src.rpm
Description:

Rack::Accept is a suite of tools for Ruby/Rack applications that eases the
complexity of building and interpreting the Accept* family of HTTP request
headers.

Comment 2 Mamoru TASAKA 2010-10-04 22:10:51 UTC
Some notes:

* Unused macros
  - It seems that %ruby_sitelib macro is used nowhere.

* Requires/BuildRequires
  - rubygem(rake) is for $ rake test and s.add_development_dependency
    in gemspec file, so this is not needed for "Requires"
    (for BuildRequires this is needed).

  - ">= 0.4" or ">= 0" parts on (Build)Requires: rubygem(foo) are
    not needed because packages on currently supported Fedora
    branches all satisfy these version dependencies.
    https://fedoraproject.org/wiki/Packaging/Guidelines#Explicit_Requires

* Directory ownership issue
  - The directory %geminstdir itself is not owned by any packages.

* %files
  - Please check if %geminstdir/%gemname.gemspec is really needed
    ( I guess not. Note that gemspec file is also installed under
      %gemdir/specifications )

* Document files
  - I think for this package -doc file should be created and the following
    entries should be moved to -doc:
------------------------------------------------------------------
%{geminstdir}/test
%{geminstdir}/Rakefile
%{geminstdir}/doc
%{gemdir}/doc/%{gemname}-%{version}
------------------------------------------------------------------
    ( I usually think that especially test/ directory should not be
      in main package )

Comment 3 Mamoru TASAKA 2010-10-04 22:11:36 UTC
By the way I would appreciate it if you would review my
rubygem related review request (bug 637448)

Comment 4 Michal Fojtik 2010-10-05 10:17:15 UTC
(In reply to comment #2)
> Some notes:
> 
> * Unused macros
>   - It seems that %ruby_sitelib macro is used nowhere.

Fixed.

> 
> * Requires/BuildRequires
>   - rubygem(rake) is for $ rake test and s.add_development_dependency
>     in gemspec file, so this is not needed for "Requires"
>     (for BuildRequires this is needed).

Fixed.
 
> * Directory ownership issue
>   - The directory %geminstdir itself is not owned by any packages.

Fixed.

> 
> * %files
>   - Please check if %geminstdir/%gemname.gemspec is really needed
>     ( I guess not. Note that gemspec file is also installed under
>       %gemdir/specifications )

Well this file is needed in %check for executing 'rake'. I rather to preserve this file in -doc sub package with tests (if someone want to execute tests, he must be able to do that using 'rake')

> * Document files
>   - I think for this package -doc file should be created and the following
>     entries should be moved to -doc:
> ------------------------------------------------------------------
> %{geminstdir}/test
> %{geminstdir}/Rakefile
> %{geminstdir}/doc
> %{gemdir}/doc/%{gemname}-%{version}
> ------------------------------------------------------------------

Fixed.

Spec URL: http://mifo.sk/RPMS/rubygem-rack-accept.spec
SRPM URL: http://mifo.sk/RPMS/rubygem-rack-accept-0.4.3-3.fc13.src.rpm

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

Comment 5 Mamoru TASAKA 2010-10-05 16:40:04 UTC
Well,

* Please change the release number to 4 to match %changelog
* Please set %defattr(-,root,root,-) on -doc.

---------------------------------------------------------------
   This package (rubygem-rack-accept) is APPROVED by mtasaka
---------------------------------------------------------------

Comment 6 Michal Fojtik 2010-10-06 08:33:00 UTC
New Package SCM Request
=======================
Package Name:      rubygem-rack-accept
Short Description: HTTP Accept for Ruby/Rack
Owners:            mfojtik
Branches:          f12 f13 f14

Comment 7 Kevin Fenzi 2010-10-06 23:27:01 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2010-10-07 12:32:26 UTC
rubygem-rack-accept-0.4.3-4.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/rubygem-rack-accept-0.4.3-4.fc13

Comment 9 Fedora Update System 2010-10-07 12:35:46 UTC
rubygem-rack-accept-0.4.3-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/rubygem-rack-accept-0.4.3-4.fc14

Comment 10 Fedora Update System 2010-10-07 12:52:10 UTC
rubygem-rack-accept-0.4.3-4.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/rubygem-rack-accept-0.4.3-4.fc12

Comment 11 Mamoru TASAKA 2010-10-07 13:15:25 UTC
Sorry, would you move README and CHANGES files to main
package?

Comment 12 Michal Fojtik 2010-10-07 13:26:24 UTC
(In reply to comment #11)
> Sorry, would you move README and CHANGES files to main
> package?

Sure, I'll move those files in next update.

Comment 13 Fedora Update System 2010-10-07 19:54:37 UTC
rubygem-rack-accept-0.4.3-4.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rubygem-rack-accept'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/rubygem-rack-accept-0.4.3-4.fc14

Comment 14 Mamoru TASAKA 2010-10-13 18:22:02 UTC
Sorry for not noticing the breakage of dependency on
-doc subpackage...

Comment 15 Fedora Update System 2010-10-18 10:10:16 UTC
rubygem-rack-accept-0.4.3-5.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/rubygem-rack-accept-0.4.3-5.fc13

Comment 16 Fedora Update System 2010-10-18 10:17:00 UTC
rubygem-rack-accept-0.4.3-5.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/rubygem-rack-accept-0.4.3-5.fc14

Comment 17 Fedora Update System 2010-10-18 10:28:46 UTC
rubygem-rack-accept-0.4.3-5.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/rubygem-rack-accept-0.4.3-5.fc12

Comment 18 Fedora Update System 2010-10-19 07:07:29 UTC
rubygem-rack-accept-0.4.3-5.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2010-10-19 09:06:14 UTC
rubygem-rack-accept-0.4.3-5.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2010-11-04 23:45:08 UTC
rubygem-rack-accept-0.4.3-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.