Bug 556433 - Review Request: rubygem-eventmachine - Ruby/EventMachine library
Summary: Review Request: rubygem-eventmachine - Ruby/EventMachine library
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-18 12:30 UTC by Ruben Kerkhof
Modified: 2015-03-18 11:16 UTC (History)
6 users (show)

Fixed In Version: rubygem-eventmachine-0.12.10-3.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-09 17:01:32 UTC
Type: ---
Embargoed:
mtasaka: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Ruben Kerkhof 2010-01-18 12:30:36 UTC
Spec URL: http://ruben.fedorapeople.org/rubygem-eventmachine.spec
SRPM URL: http://ruben.fedorapeople.org/rubygem-eventmachine-0.12.10-1.fc13.src.rpm
Description:
EventMachine implements a fast, single-threaded engine for arbitrary network
communications. It's extremely easy to use in Ruby. EventMachine wraps all
interactions with IP sockets, allowing programs to concentrate on the
implementation of network protocols. It can be used to create both network
servers and clients. To create a server or client, a Ruby program only needs
to specify the IP address and port, and provide a Module that implements the
communications protocol. Implementations of several standard network protocols
are provided with the package, primarily to serve as examples. The real goal
of EventMachine is to enable programs to easily interface with other programs
using TCP/IP, especially if custom protocols are required.

Comment 1 Mamoru TASAKA 2010-01-29 18:17:39 UTC
Some initial comments
- Use "BR: rubygem(rake)" instead of "BR: rubygem-rake" ref:
  https://fedoraproject.org/wiki/Packaging/Perl#Perl_Requires_and_Provides
- Don't strip binary and create debuginfo rpm correctly.
- Test fails like:
  http://koji.fedoraproject.org/koji/taskinfo?taskID=1952077
  - 10 tests errors seem to be due to net connection
  -  1 error seems to occur occasionally
- Please mark document files as %doc appropriately
  - At least README file, example/ docs/ directories should be 
    marked as %doc
  - Also I guess tasks/ tests/ web/ directories and Rakefile can be marked
    as %doc
  - it may be preferable to split example/ docs/ tasks/ tests/ web/
    directories and Rakefile into -doc subpackage (I would do so).
- %geminstdir/%gemname.gemspec is not needed. gemspec file is
  installed under specifications directory.
- Use %geminstdir macro in %files as this is defined in the spec file.
- License tag should be "GPLv2 or Ruby"

Comment 2 Ruben Kerkhof 2010-01-31 12:54:35 UTC
Hi Mamoru, thanks for the review!

> - Use "BR: rubygem(rake)" instead of "BR: rubygem-rake" ref:
>  https://fedoraproject.org/wiki/Packaging/Perl#Perl_Requires_and_Provides

Fixed. This seems something that should be added to the ruby guidelines as well :-)

> - Don't strip binary and create debuginfo rpm correctly.
Oops, fixed.

> - Test fails like:
>  http://koji.fedoraproject.org/koji/taskinfo?taskID=1952077
>  - 10 tests errors seem to be due to net connection
>  -  1 error seems to occur occasionally

The 10 tests try to open a connection to 127.0.0.1. Apparently this is not allowed by koji.

The failure is a timing test which didn't complete in time. This probably depends on how fast the build host is.

For now I've added a || : to the %check section.

> - Please mark document files as %doc appropriately
>  - At least README file, example/ docs/ directories should be 
>    marked as %doc
>  - Also I guess tasks/ tests/ web/ directories and Rakefile can be marked
>    as %doc
>  - it may be preferable to split example/ docs/ tasks/ tests/ web/
>    directories and Rakefile into -doc subpackage (I would do so).

Ok, I've made a -doc subpackage.

> - %geminstdir/%gemname.gemspec is not needed. gemspec file is
>  installed under specifications directory.

Fixed.

> - Use %geminstdir macro in %files as this is defined in the spec file.

Fixed.

> - License tag should be "GPLv2 or Ruby"

Fixed.

New version here:
Spec URL: http://ruben.fedorapeople.org/rubygem-eventmachine.spec
SRPM URL:
http://ruben.fedorapeople.org/rubygem-eventmachine-0.12.10-2.fc13.src.rpm

Comment 3 Mamoru TASAKA 2010-01-31 14:14:54 UTC
One issue and one comment
* ruby(abi) dependency
  - "Requires: ruby(abi) = 1.8" is missing. Please add this.

! %doc in -doc subpackage
  - Not a blocker, however I think %doc attribute in -doc subpackage
    is redundant because rpm name already shows that the rpm (-doc
    subpackage) is for documentation.

Fix these before importing.
------------------------------------------------------------------
    This package (rubygem-eventmachine) is APPROVED by mtasaka
------------------------------------------------------------------

Comment 4 Ruben Kerkhof 2010-01-31 14:59:34 UTC
Thanks, I'll fix the issues before importing.

New Package CVS Request
=======================
Package Name: rubygem-eventmachine
Short Description: Ruby/EventMachine library
Owners: foo ruben
Branches: F-12

Comment 5 Ruben Kerkhof 2010-01-31 15:00:14 UTC
Oops, typo.

New Package CVS Request
=======================
Package Name: rubygem-eventmachine
Short Description: Ruby/EventMachine library
Owners: ruben
Branches: F-12

Comment 6 Kevin Fenzi 2010-01-31 18:52:57 UTC
CVS done (by process-cvs-requests.py).

Comment 7 Mamoru TASAKA 2010-02-05 16:54:07 UTC
Please submit push requests for F-12 on bodhi.

Comment 8 Fedora Update System 2010-02-07 12:01:33 UTC
rubygem-eventmachine-0.12.10-3.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/rubygem-eventmachine-0.12.10-3.fc12

Comment 9 Fedora Update System 2010-02-09 05:00:00 UTC
rubygem-eventmachine-0.12.10-3.fc12 has been pushed to the Fedora 12 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-eventmachine'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1559

Comment 10 Mamoru TASAKA 2010-02-09 17:01:32 UTC
Closing.

Comment 11 Fedora Update System 2010-02-11 14:46:41 UTC
rubygem-eventmachine-0.12.10-3.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Michal Fojtik 2010-03-08 15:40:50 UTC
Please include this gem also in F-11 if it's possible.

Comment 13 Ruben Kerkhof 2010-03-08 15:56:26 UTC
Sure

Package Change Request
======================
Package Name: rubygem-eventmachine
New Branches: F-11
Owners: ruben

Comment 14 Kevin Fenzi 2010-03-09 06:11:57 UTC
cvs done.

Comment 15 Fedora Update System 2010-03-15 14:46:51 UTC
rubygem-eventmachine-0.12.10-3.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/rubygem-eventmachine-0.12.10-3.fc11

Comment 16 Fedora Update System 2010-03-25 22:32:17 UTC
rubygem-eventmachine-0.12.10-3.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Michael Stahnke 2010-09-13 13:42:51 UTC
Package Change Request
======================
Package Name: rubygem-eventmachine
New Branches: el5 el6
Owners: stahnma

Owner is aware of request.

Comment 18 Kevin Fenzi 2010-09-14 04:30:40 UTC
Git done (by process-git-requests).

Comment 19 Graeme Gillies 2015-03-18 05:01:41 UTC
Package Change Request
======================
Package Name: rubygem-eventmachine
New Branches: epel7
Owners: ggillies

Owners are aware of request

Comment 20 Gwyn Ciesla 2015-03-18 11:16:44 UTC
Git done (by process-git-requests).


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