Bug 717645 - Review Request: rubygem-compass-960-plugin - Compass compatible Sass port of 960.gs
Summary: Review Request: rubygem-compass-960-plugin - Compass compatible Sass port of ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 705505
TreeView+ depends on / blocked
 
Reported: 2011-06-29 13:21 UTC by Chris Lalancette
Modified: 2011-07-13 18:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-13 18:09:15 UTC
Type: ---
Embargoed:
vondruch: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Chris Lalancette 2011-06-29 13:21:30 UTC
Spec URL:
http://people.redhat.com/clalance/rubygem-compass-960-plugin/rubygem-compass-960-plugin.spec
SRPM URL:
http://people.redhat.com/clalance/rubygem-compass-960-plugin/rubygem-compass-960-plugin-0.10.4-1.fc14.src.rpm
Description:
The 960 Grid System is an effort to streamline web development workflow by
providing commonly used dimensions, based on a width of 960 pixels.
http://960.gs/

Comment 1 Vít Ondruch 2011-06-30 15:26:45 UTC
Hi Chris,

by coincidence, I did the same package today before I noticed you did that yesterday :) So you can take a look for comparison [1]. A few things I noticed in you spec file:

* Wrong license
* site_libdir is useless for gem packages
* you do not provide -doc subpackage, although I am not sure if we should not
  disable the documentation for this gem at all
* %defattr is no more needed except EPEL-4
* BuildRoot is deprecated, except EPEL-5 and older I guess
* Clean section is not required anymore
* There is better to use %{geminstdir} macro in %files section


[1] http://people.redhat.com/vondruch/rubygem-compass-960-plugin.spec

Comment 2 Vít Ondruch 2011-06-30 15:27:55 UTC
And you did not specified ruby(abi)

Comment 3 Chris Lalancette 2011-06-30 15:56:24 UTC
(In reply to comment #1)
> Hi Chris,
> 
> by coincidence, I did the same package today before I noticed you did that
> yesterday :) So you can take a look for comparison [1]. A few things I noticed
> in you spec file:
> 
> * Wrong license

Oops, fixed.

> * site_libdir is useless for gem packages

Yep, removed.

> * you do not provide -doc subpackage, although I am not sure if we should not
>   disable the documentation for this gem at all

Hm, I'm really fine either way.  I guess it does make sense to have the -doc package, like other rubygems.  I've taken that bit from yours and put it into mine.

> * %defattr is no more needed except EPEL-4
> * BuildRoot is deprecated, except EPEL-5 and older I guess
> * Clean section is not required anymore

Heh, I had no idea.  But re-reading the packaging guidelines, I see that this is indeed the case.  I've removed all 3 of these.

> * There is better to use %{geminstdir} macro in %files section

Fixed.

(In reply to comment #2)
> And you did not specified ruby(abi)

Right, fixed.

I've re-uploaded the SPEC and SRPM to the same place; can you take a look when you get a chance?

Thanks,
Chris Lalancette

Comment 4 Vít Ondruch 2011-06-30 16:14:39 UTC
(In reply to comment #3)
> > * you do not provide -doc subpackage, although I am not sure if we should not
> >   disable the documentation for this gem at all
> 
> Hm, I'm really fine either way.  I guess it does make sense to have the -doc
> package, like other rubygems.  I've taken that bit from yours and put it into
> mine.

I just checked the content of the documentation when I did the package myself and there was virtually nothing, that why I doubt if it would not be better to disable it at all, but on the other hand, it is not installed by default. So lets keep it the way it is now.

And I found yet another minor nit. You keep the .gemspec file which is in gem folder but it has no meaning in our package, so I suggest to remove it: %exclude %{geminstdir}/%{gemname}.gemspec

And the final one, you are using "Requires: rubygems" where it should be better to use the virtual provide "Requires: ruby(rubygems)". The same apply for BR.

Otherwise the package looks good. So I APPROVE it.

Comment 5 Chris Lalancette 2011-06-30 17:23:59 UTC
Thanks Vit.  I'll fix those two nits before I import the package.

Chris Lalancette

Comment 6 Chris Lalancette 2011-07-01 13:25:50 UTC
New Package SCM Request
=======================
Package Name: rubygem-compass-960-plugin
Short Description: Compass compatible Sass port of 960.gs
Owners: clalance vondruch
Branches:
InitialCC:

Comment 7 Gwyn Ciesla 2011-07-01 14:11:40 UTC
Git done (by process-git-requests).

Note to Vit:  Take ownership of Review bugs you're offically working on
and/or approving.

Comment 8 Vít Ondruch 2011-07-01 14:19:28 UTC
(In reply to comment #7)
> Git done (by process-git-requests).
> 
> Note to Vit:  Take ownership of Review bugs you're offically working on
> and/or approving.

Hmm, strange ... assigned doesn't mean assigned to me? :) Will try to do better next time.


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