Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 738465 - Review Request: rubygem-barista - Simple, integrated support for CoffeeScript in Rack and Rails applications
Summary: Review Request: rubygem-barista - Simple, integrated support for CoffeeScript...
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
Depends On: 738742
TreeView+ depends on / blocked
Reported: 2011-09-14 21:20 UTC by Fotios Lindiakos
Modified: 2015-07-21 14:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-07-21 13:16:16 UTC
vondruch: fedora-review?

Attachments (Terms of Use)

Description Fotios Lindiakos 2011-09-14 21:20:13 UTC
Spec URL:


Description: This gem allows for automated building of Coffeescripts in a rack environment. More information is available here: I used gem2rpm and then filled out missing license, contact, and files information.

This is my first package, please be gentle.

Comment 1 Fotios Lindiakos 2011-09-14 21:49:19 UTC
Apologies, but I renamed my Github repo, so these are the new links:

Spec URL:


Comment 2 Jonas Courteau 2012-05-28 04:11:50 UTC
Hi!  I can only provide an unofficial review, but here's a few comments:

I'd recommend going over the spec file and bringing it more in line with the guidelines here: Specifically, you'll want to have a BuildRequires against rubygems-devel, and use the provided macros (gem_dir,gem_instdir, and so on). There's also new guidelines in there for the %prep/%build/%install sections.

As suggested in those guidelines, you may want to add a %check section.  It looks like the gem includes its tests, so:
pushd .%{gem_instdir}
rspec -Ilib spec/
rm -rf spec/
should work. (it's also recommended that you don't package the tests unless you need to)

Also, to package on fedora 17 or rawhide, the ruby(abi) requirement needs to be updated to 1.9.1

There's also a bunch of whitespace in front of the changelog entry which should be removed.

Hopefully that helps!  Once these things are resolved, I'll run through the full review checklist as well.

If anyone is wanting to do other Rubygem-based package reviews, take a look at some of mine - see and its dependencies.  I still need a sponsor too.

Comment 3 Bohuslav "Slavek" Kabrda 2012-08-24 05:49:24 UTC
It seems that Fotios has been unresponsive for quite some time now. If anyone needs this gem, please fix the spec and srpm (see Comment 2) and take it over, I will review it if needed.

Comment 4 Harish Ved 2013-03-19 17:31:56 UTC
Updated SPEC URL :

Updated SRPM URL :

The tests under spec/ folder are not packaged.
This is my first package too, so it might need extensive reviewing.

Comment 5 Vít Ondruch 2013-03-20 07:28:20 UTC
Hi Harish,

(In reply to comment #4)
> The tests under spec/ folder are not packaged.

Please consider to run the test suite. You can find help in Ruby guidelines [1].

Also, please fix the gem to be compatible with Rawhide guidelines. You can use gem2rpm (from, the packaged gem2rpm is a bit older version :/) or this [2] migration script.

Thank you.


Comment 6 Harish Ved 2013-04-21 06:25:20 UTC
The links have again been updated for fedora 19 and the tests are run.

Updated SPEC URL :

Updated SRPM URL :

Please review.

Comment 7 Vít Ondruch 2013-04-22 07:24:00 UTC
(In reply to comment #6)
It does not look like f19 .spec file. Could you please use recent gem2rpm and possibly with "-t fedora-19-rawhide" option, which will use the appropriate template.

BTW I would suggest to unpack the test suite in %check section. In that case, you will not need to include it in resulting package.

Comment 8 Harish Ved 2013-04-27 22:18:16 UTC
The links have again been updated.
Please review.

Updated SPEC URL :

Updated SRPM URL :

Comment 9 Vít Ondruch 2013-04-30 12:13:55 UTC
Thanks for the update.

* LICENSE file must be included in the main package.
  - See [1] for more information

* Include test suite as a SOURCE
  - I am afraid, that build of your package fails on Koji. You cannot
    donwload/checkout anything from the internet. Please follow the guidelines,
    which gives example how to properly include test suite [2]

* Run the test suite from .%{gem_instdir}
  - If you run the test suite from .%{gem_instdir}, you will save some hassle
    with moving and deleting the test suite.

* Move into -doc subpackage non-essential files


  - The files above should do to -doc subpackage, since they are not needed for

* Exclude the hidden files


  - The above files should be exclude (I guess rpmlint would warn about them).
    I suggest to use "%exclude %{gem_instdir}/.*" to exclude them all in once.

* The package is not buildable
  - Apparently, you are not BR: git, which you are using later. But since you
    are going to redo the %check section it should not be issue, just something
    to be aware.
  - In the future, please use mock [3] for local testing or Koji [4] (which is
    for bonus points ;)


Comment 10 Harish Ved 2013-06-27 14:13:20 UTC
Spec URL:


Koji build report:

Description: This gem allows for automated building of Coffeescripts in a rack environment. More information is available here:

Fedora Account System Username: something

Comment 11 Vít Ondruch 2013-07-30 11:48:28 UTC
* Upstream source differs from the one in SRPM
  - It seems that the source .gem you have in your SRPM does not match the
    upstream on. Could you please fix this issue?

* LICENSE file must be included in the main package.
  - This does not seems to be resolved.
  - See [1] for more information


Comment 13 Miroslav Suchý 2015-07-21 13:16:16 UTC
Closing due long inactivity. And based on #12 it does not seem this review will continue.

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