Bug 1268369

Summary: Review Request: rubygem-http_parser.rb - Simple callback-based HTTP request/response parser
Product: [Fedora] Fedora Reporter: Ilia Gradina <ilya.gradina>
Component: Package ReviewAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jaruga, package-review, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-08 12:06:19 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: 1268371    

Comment 1 Jun Aruga 2016-03-09 15:28:17 UTC
Let me review this.
But if there are any other things to comment, please comment.

* spec file
  - You should add your test suite in %check section.

    See https://fedoraproject.org/wiki/Packaging:Guidelines#Test_Suites
    > If the source code of the package provides a test suite, it should be executed in the %check section, whenever it is practical to do so.

  - rubygem-http_parser is using ruby_http_parser.so compiled by itself.
    But http_parser package exits in Fedora package.
    So, should use the package.

    See http://fedoraproject.org/wiki/Packaging:ReviewGuidelines
    > MUST: Packages must NOT bundle copies of system libraries

* license
  ok after checking with licensecheck tool.

* rpmlint
  - rpmlint shows below thing. but it looks no problem.
    rubygem-http_parser.rb.x86_64: E: zero-length /usr/lib64/gems/ruby/http_parser.rb-0.6.0/gem.build_complete
  - Other warnings looks ok.

Comment 2 Vít Ondruch 2016-03-09 15:51:30 UTC
(In reply to Jun Aruga from comment #1)
> * rpmlint
>   - rpmlint shows below thing. but it looks no problem.
>     rubygem-http_parser.rb.x86_64: E: zero-length
> /usr/lib64/gems/ruby/http_parser.rb-0.6.0/gem.build_complete

This is actually false positive. The file has to be there and has 0 bytes length.

Comment 3 Vít Ondruch 2016-09-08 12:06:19 UTC

*** This bug has been marked as a duplicate of bug 1372999 ***