Bug 895592 (syntaxhighlighter) - Review Request: syntaxhighlighter - JavaScript syntax highlighter
Summary: Review Request: syntaxhighlighter - JavaScript syntax highlighter
Keywords:
Status: CLOSED ERRATA
Alias: syntaxhighlighter
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Meng
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: Horde_Mime_Viewer
TreeView+ depends on / blocked
 
Reported: 2013-01-15 15:38 UTC by Remi Collet
Modified: 2013-07-03 20:53 UTC (History)
3 users (show)

Fixed In Version: syntaxhighlighter-3.0.83-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-27 01:53:52 UTC
Type: ---
Embargoed:
i: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Remi Collet 2013-01-15 15:38:29 UTC
Spec URL: https://raw.github.com/remicollet/remirepo/3451052faf5e5db905d59f6dbb27994b4f5f1bfe/syntaxhighlighter/syntaxhighlighter.spec
SRPM URL: http://rpms.famillecollet.com/SRPMS/syntaxhighlighter-3.0.83-1.remi.src.rpm
Description: 
SyntaxHighlighter is a fully functional self-contained code
syntax highlighter developed in JavaScript.

Fedora Account System Username: remi

Comment 1 Christopher Meng 2013-06-16 06:27:41 UTC
Hmm...No javascript packaging guideline now, only a draft.

From fedora-review seems OK, but somethings maybe you should fix:

1) I found that mixture of tab and space in License and Source0 tag.

2) This library has its GitHub page, and the author has tagged the 3.0.83 version.

https://github.com/alexgorbatchev/SyntaxHighlighter/tags

3) Is this spec for EL only? I've seen many obsoleted lines and buildroot tag.

4) A little more blanks between sections. Not mandatory.

5) License: MIT or GPLv2. Why not "and"?

Comment 2 Remi Collet 2013-06-16 07:18:20 UTC
(In reply to Christopher Meng from comment #1)
> Hmm...No javascript packaging guideline now, only a draft.
> 
> From fedora-review seems OK, but somethings maybe you should fix:
> 
> 1) I found that mixture of tab and space in License and Source0 tag.

Agree, will fix it

> 2) This library has its GitHub page, and the author has tagged the 3.0.83
> version.
> 
> https://github.com/alexgorbatchev/SyntaxHighlighter/tags

Yes, but the github only provides the "sources" and we don't have (yet) needed stuff to run the build (npm, jake, ...)

In fact, "master" use node.js stuff, while old release 3.0.83 use phing. 
I will look if we can build from source (it seems we need lot of fix because it use a very old version... of course... 2010)

But don't know if it worth the work... as will be broken as soon as a new version will be released.

Build for JS is mostly: concat + compress (result still readable)

> 3) Is this spec for EL only? I've seen many obsoleted lines and buildroot
> tag.

This spec target EL-5, so yes buildroot, ... are required.

> 4) A little more blanks between sections. Not mandatory.
> 
> 5) License: MIT or GPLv2. Why not "and"?

Because https://fedoraproject.org/wiki/Packaging:LicensingGuidelines?rd=Packaging/LicensingGuidelines#Dual_Licensing_Scenarios

Comment 5 Christopher Meng 2013-06-16 11:03:52 UTC
cp %{SOURCE2} %{SOURCE3} .

should be:

cp -p %{SOURCE2} %{SOURCE3} .

And please preserve the ts when downloading these two licenses.

APPROVED.

Please FIX this problem before importing.

Comment 6 Christopher Meng 2013-06-16 11:16:02 UTC
Plus, no need for  %defattr(-,root,root,-), it's only needed < RPM 4.4

Comment 7 Remi Collet 2013-06-16 14:28:49 UTC
Thanks for the review.

I will clean the EL-5 stuff after import (EL-5 is no more a target as phing is missing)


New Package SCM Request
=======================
Package Name: syntaxhighlighter
Short Description: JavaScript syntax highlighter
Owners: remi
Branches: f18 f19 el6
InitialCC:

Comment 8 Gwyn Ciesla 2013-06-17 12:17:09 UTC
Git done (by process-git-requests).

Comment 9 Fedora Update System 2013-06-17 17:13:36 UTC
syntaxhighlighter-3.0.83-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/syntaxhighlighter-3.0.83-2.fc18

Comment 10 Fedora Update System 2013-06-17 17:13:51 UTC
syntaxhighlighter-3.0.83-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/syntaxhighlighter-3.0.83-2.el6

Comment 11 Fedora Update System 2013-06-17 17:14:01 UTC
syntaxhighlighter-3.0.83-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/syntaxhighlighter-3.0.83-2.fc19

Comment 12 Fedora Update System 2013-06-18 01:27:50 UTC
syntaxhighlighter-3.0.83-2.fc18 has been pushed to the Fedora 18 testing repository.

Comment 13 Fedora Update System 2013-06-27 01:53:52 UTC
syntaxhighlighter-3.0.83-2.fc18 has been pushed to the Fedora 18 stable repository.

Comment 14 Fedora Update System 2013-06-29 18:39:10 UTC
syntaxhighlighter-3.0.83-2.fc19 has been pushed to the Fedora 19 stable repository.

Comment 15 Fedora Update System 2013-07-03 20:53:50 UTC
syntaxhighlighter-3.0.83-2.el6 has been pushed to the Fedora EPEL 6 stable repository.


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