[Bug 527306] Review Request: jericho-html - Jericho HTML Parser

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

--- Comment #5 from Stanislav Ochotnicky <sochotni@xxxxxxxxxx> 2010-06-25 09:27:45 EDT ---
NEEDSWORK: rpmlint must be run on every package. The output should be posted in
the review.
jericho-html.noarch: W: spelling-error %description -l en_US unrecognised ->
unrecognized, unrecognizable, unrecognizably
jericho-html.noarch: W: spelling-error %description -l en_US licence ->
license, licente, licentiate
jericho-html-javadoc.noarch: W: spelling-error Summary(en_US) Javadocs -> Java
docs, Java-docs, Javanese
jericho-html-javadoc.noarch: W: non-standard-group Development Documentation
2 packages and 0 specfiles checked; 0 errors, 4 warnings.

You need to change Group of javadoc to "Development/Documentation". I
also don't think that proper group for main package is "System
Environment/Libraries". More like "Java Development".

OK: The package must be named according to the Package Naming Guidelines .
OK: The spec file name must match the base package %{name}, in the format
%{name}.spec unless your package has an exemption.  .
OK: The package must meet the Packaging Guidelines .
OK: The package must be licensed with a Fedora approved license and meet the
Licensing Guidelines .
OK: The License field in the package spec file must match the actual license. 
OK: If (and only if) the source package includes the text of the license(s) in
its own file, then that file, containing the text of the license(s) for the
package must be included in %doc.
OK: The spec file must be written in American English. 
OK: The spec file for the package MUST be legible. 
OK: The sources used to build the package must match the upstream source, as
provided in the spec URL. Reviewers should use md5sum for this task. If no
upstream URL can be specified for this package, please see the Source URL
Guidelines for how to deal with this.
OK: The package MUST successfully compile and build into binary rpms on at
least one primary architecture. 
NEEDSWORK: All build dependencies must be listed in BuildRequires, except for
any that are listed in the exceptions section of the Packaging Guidelines ;
inclusion of those as BuildRequires is optional. Apply common sense.

You are missing java and jpackage-utils in Requires. See:
https://fedoraproject.org/wiki/Packaging:Java#BuildRequires_and_Requires

Please also note that in current rawhide jakarta-commons-logging is
called apache-commons-logging so it would be better to change this
accordingly once you will be committing the package to devel branch.

OK: Packages must NOT bundle copies of system libraries.
OK: A package must own all directories that it creates. If it does not create a
directory that it uses, then it should require a package which does create that
directory. 
OK: A Fedora package must not list a file more than once in the spec file's
%files listings. 
OK: Permissions on files must be set properly. Executables should be set with
executable permissions, for example. Every %files section must include a
%defattr(...) line. 
OK: Each package must consistently use macros. 
OK: The package must contain code, or permissable content. 
OK: Large documentation files must go in a -doc subpackage. (The definition of
large is left up to the packager's best judgement, but is not restricted to
size. Large can refer to either size or quantity). 
OK: If a package includes something as %doc, it must not affect the runtime of
the application. To summarize: If it is in %doc, the program must run properly
if it is not present. 
OK: Packages must not own files or directories already owned by other packages.
The rule of thumb here is that the first package to be installed should own the
files or directories that other packages may rely upon. This means, for
example, that no package in Fedora should ever share ownership with any of the
files or directories owned by the filesystem or man package. If you feel that
you have a good reason to own a file or directory that another package owns,
then please present that at package review time. 
OK: All filenames in rpm packages must be valid UTF-8. 

Other:

You do:
> cp dist/%{name}-%{version}.jar samples/webapps/JerichoHTML/WEB-INF/lib

to give back jericho jar so that sample will work. I would strongly
recommend instead creating symlink to file in %{_javadir} during install phase.

Please also use more descriptive Summary, current one doesn't say
much. You can basically use first sentence from Description, e.g. 
"Java library allowing analysis and manipulation of parts of an HTML document"

I would also recommend contacting upstream and working with them on making
use of some build system, be it maven or ant or something
different. Re-doing all compiling in spec file is just ugly (this
doesn't affect approval, it's just for future reference).


Once you fix mentioned problems, I can re-check and approve this package.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]