Bug 558824 (rubygem-xmpp4r) - Review Request: rubygem-xmpp4r - XMPP4R is an XMPP/Jabber library for Ruby
Summary: Review Request: rubygem-xmpp4r - XMPP4R is an XMPP/Jabber library for Ruby
Keywords:
Status: CLOSED NEXTRELEASE
Alias: rubygem-xmpp4r
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-26 14:23 UTC by Mark Chappell
Modified: 2010-02-02 17:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-02 17:13:16 UTC
Type: ---
Embargoed:
mtasaka: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Mark Chappell 2010-01-26 14:23:23 UTC
Spec URL: http://people.bath.ac.uk/ee0mdc/rpm/rubygem-xmpp4r/rubygem-xmpp4r.spec
SRPM URL: http://people.bath.ac.uk/ee0mdc/rpm/rubygem-xmpp4r/rubygem-xmpp4r-0.5-1.el5.src.rpm
Description: XMPP4R is an XMPP/Jabber library for Ruby


This is my first package, and I am seeking a sponsor

Comment 1 Mamoru TASAKA 2010-01-26 18:18:01 UTC
Some notes

* %define -> %global
  - Now we prefer to use %global instead of %define
    https://fedoraproject.org/wiki/Packaging/Guidelines#.25global_preferred_over_.25define

* Unneeded macros
  - The defined %ruby_sitelib seems to be used nowhere.

* Testing
  - As this package contains test/ directory, please add %check stage
    and execute some test program (like $ rake test ).

* Directory ownership issue
  https://fedoraproject.org/wiki/Packaging/UnownedDirectories#Common_Mistakes
  - The directories themselves are not owned by any packages.
-------------------------------------------------------------------
/usr/lib/ruby/gems/1.8/gems/xmpp4r-0.5/data
/usr/lib/ruby/gems/1.8/gems/xmpp4r-0.5/data/doc
/usr/lib/ruby/gems/1.8/gems/xmpp4r-0.5/data/doc/xmpp4r
-------------------------------------------------------------------

* %doc specification
  - I don't see the necessity to use %doc in -doc subpackage as
    its name already shows that this (-doc) subpackage is for
    documentation.

Comment 2 Mamoru TASAKA 2010-01-26 18:21:36 UTC
One more thing
* Summary
  - "XMPP4R is an" is redundant on Summary

Comment 3 Mamoru TASAKA 2010-01-26 18:53:56 UTC
Some more comments.
* rpmlint messages
--------------------------------------------------------------
rubygem-xmpp4r.src: W: mixed-use-of-spaces-and-tabs (spaces: line 30, tab: line 57)
rubygem-xmpp4r.src: W: strange-permission rubygem-xmpp4r-examples.patch 0600L
rubygem-xmpp4r.src: W: strange-permission rubygem-xmpp4r.spec 0600L
rubygem-xmpp4r.src: W: strange-permission xmpp4r-0.5.gem 0600L
--------------------------------------------------------------
  - Please fix indentation. You should use spaces or tabs, not
    both (cosmetic issue)
  - All files in .src.rpm should have 0644 permisson.

Comment 4 Mark Chappell 2010-01-29 12:32:18 UTC
* Fixed the src.rpm file permissions
* Replaced tabs with spaces
* Removed the redundant "XMPP4R is an" from the Summary
* removed the %doc lines in the -doc package
* data, data/doc and data/doc/xmpp4r now have owners
* Tests enabled
* Removed unused macro
* Replaced the "%define"s with "%global"

New Spec in the same location:
http://people.bath.ac.uk/ee0mdc/rpm/rubygem-xmpp4r/rubygem-xmpp4r.spec

New SRPM:
http://people.bath.ac.uk/ee0mdc/rpm/rubygem-xmpp4r/rubygem-xmpp4r-0.5-2.fc12.src.rpm

Relevant RPM Lint output
ee0mdc:vampire:~ $ rpmlint /var/lib/mock/fedora-12-x86_64/result/*.rpm | grep -v yaml
rubygem-xmpp4r.src: W: patch-not-applied Patch0: rubygem-xmpp4r-examples.patch
rubygem-xmpp4r.src: W: patch-not-applied Patch1: rubygem-xmpp4r-tests.patch
rubygem-xmpp4r-doc.noarch: W: no-documentation

The patches have been applied, and the "no-documentation" is the doc package.


Thank you very much for your time so far Mamoru

Comment 5 Mamoru TASAKA 2010-01-29 16:25:41 UTC
(In reply to comment #4)
> New SRPM:
> http://people.bath.ac.uk/ee0mdc/rpm/rubygem-xmpp4r/rubygem-xmpp4r-0.5-2.fc12.src.rpm

gets 403 (Forbidden)

Comment 6 Mark Chappell 2010-01-29 16:30:10 UTC
Oops, sorry.  Should be fixed now

Comment 7 Mamoru TASAKA 2010-01-29 16:56:10 UTC
Well,
- "Requires: ruby(rubygems)" on -doc subpackge is not needed,
  because -doc subpackage has "Requires: %{name}" and %{name} has
  "Requires: rubygems"

Other things are okay.
----------------------------------------------------------------
    This package (rubygem-xmpp4r) is APPROVED by mtasaka
----------------------------------------------------------------

If you are still seeking for sponsors:
  Please follow the procedure written on:
  http://fedoraproject.org/wiki/PackageMaintainers/Join
  from "Get a Fedora Account".
  After you request for sponsorship a mail will be sent to sponsor 
  members automatically (which is invisible for you) which notifies 
  that you need a sponsor. After that, please also write on
  this bug for confirmation that you requested for sponsorship and
  your FAS (Fedora Account System) name. Then I will sponsor you.


If you want to import this package into Fedora 11/12, you also have
to look at
http://fedoraproject.org/wiki/Infrastructure/UpdatesSystem/Bodhi-info-DRAFT
(after once you rebuilt this package on koji Fedora rebuilding system).

If you have questions, please ask me.

Comment 8 Mark Chappell 2010-01-29 17:29:01 UTC
I am still seeking a sponsor. I've just requested membership of the packager group.

My FAS account name is tremble, 


Mark

Comment 9 Mark Chappell 2010-01-29 17:47:43 UTC
New Package CVS Request
=======================
Package Name: rubygem-xmpp4r
Short Description: an XMPP/Jabber library for Ruby
Owners: tremble
Branches: F-11 F-12 EL-5

Comment 10 Mamoru TASAKA 2010-01-29 18:12:49 UTC
Now I am sponsoring you. Please set fedora-cvs flag to ?
(also in -icalendar / -nokogiri review tickets)

Comment 11 Kevin Fenzi 2010-01-31 19:05:27 UTC
CVS done (by process-cvs-requests.py).

Comment 12 Mamoru TASAKA 2010-02-02 17:13:16 UTC
Closing (as devel/F-12 build succeeded and push request submitted
for F-12)


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