[Bug 1447224] Review Request: nodejs-he - A robust HTML entity encoder/ decoder written in JavaScript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1447224

Jared Smith <jsmith.fedora@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsmith.fedora@xxxxxxxxx
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |jsmith.fedora@xxxxxxxxx
              Flags|                            |fedora-review?



--- Comment #2 from Jared Smith <jsmith.fedora@xxxxxxxxx> ---
rpmlint throws three errors on this package:

nodejs-he.noarch: E: wrong-script-interpreter /usr/bin/he /usr/bin/env node
nodejs-he.noarch: E: wrong-script-interpreter
/usr/lib/node_modules/he/scripts/scrape-spec.js /usr/bin/env phantomjs
nodejs-he.noarch: E: non-executable-script
/usr/lib/node_modules/he/scripts/scrape-spec.js 644 /usr/bin/env phantomjs

For the first and second, simply add the following lines to your %prep section:

sed -i '1s/env //' bin/he
sed -i '1s/env //' scripts/scrape-spec.js

For the third, you'll want use chmod to make the script executable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux