Bug 950041 - Review Request (rename): nodejs-less - The dynamic stylesheet language
Summary: Review Request (rename): nodejs-less - The dynamic stylesheet language
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 857843
Blocks: 958484
TreeView+ depends on / blocked
 
Reported: 2013-04-09 13:57 UTC by Stephen Gallagher
Modified: 2013-05-01 15:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-20 20:04:37 UTC
Type: ---
Embargoed:
mrunge: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Stephen Gallagher 2013-04-09 13:57:56 UTC
Spec URL: http://sgallagh.fedorapeople.org/packagereview/nodejs-less/nodejs-less.spec
SRPM URL: http://sgallagh.fedorapeople.org/packagereview/nodejs-less/nodejs-less-1.3.3-2.fc18.src.rpm
Description:
LESS extends CSS with dynamic behavior such as variables, mixins, operations
and functions. LESS runs on both the client-side (Chrome, Safari, Firefox)
and server-side, with Node.js and Rhino.

Fedora Account System Username: sgallagh

Comment 1 Stephen Gallagher 2013-04-09 14:01:03 UTC
I'm renaming the 'lessjs' package to be in line with the Node.js packaging guidelines (as it is a pure Node package). It upgrades cleanly from the old version. Thank you in advance for your review.

Comment 2 Matthias Runge 2013-04-10 08:00:19 UTC
Sadly, the build fails: http://koji.fedoraproject.org/koji/taskinfo?taskID=5236458

+ chmod a+x bin/lessc
+ cp -rp bin package.json lib/less/browser.js lib/less/colors.js lib/less/functions.js lib/less/index.js lib/less/lessc_helper.js lib/less/parser.js lib/less/rhino.js lib/less/tree lib/less/tree.js '/builddir/build/BUILDROOT/nodejs-less-1.3.3-2.fc20.noarch/%{nodejs_sitelib}/less'
cp: target '/builddir/build/BUILDROOT/nodejs-less-1.3.3-2.fc20.noarch/%{nodejs_sitelib}/less' is not a directory

The root cause seems to be, %{nodejs_sitelib} is not defined (at least in rawhide):
+ mkdir -p '/builddir/build/BUILDROOT/nodejs-less-1.3.3-2.fc20.noarch%{nodejs_sitelib}/less'
According to the packaging guidelines, your code is correct.

- Could you please also change the permissions on less-1.3.3.tgz?
nodejs-less.src: W: strange-permission less-1.3.3.tgz 0444L
I don't see this as really critical, just a non-blocking minor.


Else it looks good to me. Since it's a rename, esp. obsoletes are correct to me.

Comment 3 Stephen Gallagher 2013-04-10 12:04:55 UTC
Yeah, I just realized that I was doing
BuildRequires: nodejs
instead of
BuildRequires: nodejs-devel

That fixes it: http://koji.fedoraproject.org/koji/taskinfo?taskID=5237160

Spec: http://sgallagh.fedorapeople.org/packagereview/nodejs-less/nodejs-less.spec
SRPM: http://sgallagh.fedorapeople.org/packagereview/nodejs-less/nodejs-less-1.3.3-3.fc18.src.rpm

Comment 4 Stephen Gallagher 2013-04-10 12:06:41 UTC
(In reply to comment #2)
> - Could you please also change the permissions on less-1.3.3.tgz?
> nodejs-less.src: W: strange-permission less-1.3.3.tgz 0444L
> I don't see this as really critical, just a non-blocking minor.

Actually, I have no idea how to change this right now. It was apparently uploaded that way to the lookaside cache. I suppose it would have to be a rel-eng fix.

I'll make sure to correct this when 1.4 final is released.

Comment 5 Matthias Runge 2013-04-10 12:09:58 UTC
OK, package approved!

Comment 6 Stephen Gallagher 2013-04-10 12:51:36 UTC
New Package SCM Request
=======================
Package Name: nodejs-less
Short Description: Less.js The dynamic stylesheet language
Owners: sgallagh mrunge patches jamielinux
Branches: f19 f18 el6
InitialCC:

Comment 7 Gwyn Ciesla 2013-04-10 13:13:38 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2013-04-10 14:09:26 UTC
nodejs-less-1.3.3-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/nodejs-less-1.3.3-3.fc19

Comment 9 Fedora Update System 2013-04-10 15:14:18 UTC
nodejs-less-1.3.3-3.fc19 has been pushed to the Fedora 19 testing repository.

Comment 10 Fedora Update System 2013-04-20 20:04:39 UTC
nodejs-less-1.3.3-3.fc19 has been pushed to the Fedora 19 stable repository.


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