[Bug 983778] Review Request: erlang-jsx - A streaming, evented json parsing toolkit

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

 



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



--- Comment #2 from Peter Lemenkov <lemenkov@xxxxxxxxx> ---
Sorry for leaving you alone here. I'm finally back and here is my 

REVIEW:

* First of all please add "%global debug_package %{nil}" to the top of the
package. This is a typical Erlang shortcoming - an arch-independent data is
installed into arch-dependent directory, so you can't mark it as noarch but
must disable bogus debuginfo subpackage generation. We (me with my fellow
colleague from SUSE community) are working on it.

* Second - please manually specify a list of Requires. It still can't be
calculated automatically so you have to trust me here (we're working on an
automatic dependency calculation):

Requires:       erlang-erts%{?_isa} >= R14B
Requires:       erlang-stdlib%{?_isa}

* You may drop "BuildRequires:  erlang-eunit" - it's one of the erlang-rebar
explicit requirements (and will be in the future).


Legend: + = PASSED, - = FAILED, 0 = Not Applicable

+ rpmlint is not silent but all its messages are either failse positives or can
be ignored safely:

sulaco ~/rpmbuild/SPECS: rpmlint ../RPMS/ppc/erlang-jsx-1.4.2-1.fc20.ppc.rpm
../SRPMS/erlang-jsx-1.4.2-1.fc20.src.rpm 
erlang-jsx.ppc: W: spelling-error Summary(en_US) evented -> evened, vented, e
vented
erlang-jsx.ppc: W: spelling-error Summary(en_US) json -> son, j son
erlang-jsx.ppc: W: spelling-error %description -l en_US json -> son, j son
erlang-jsx.ppc: W: spelling-error %description -l en_US yajl -> yawl

^^^ False positives.

erlang-jsx.ppc: E: no-binary
erlang-jsx.ppc: W: only-non-binary-in-usr-lib

^^^ that's normal for Erlang-related packages (as I explained above due to
known shortcomings we have to install noarch data into arch-dependent
directory).

erlang-jsx.src: W: spelling-error Summary(en_US) evented -> evened, vented, e
vented
erlang-jsx.src: W: spelling-error Summary(en_US) json -> son, j son
erlang-jsx.src: W: spelling-error %description -l en_US json -> son, j son
erlang-jsx.src: W: spelling-error %description -l en_US yajl -> yawl

^^^ False positives.

erlang-jsx.src:10: W: mixed-use-of-spaces-and-tabs (spaces: line 2, tab: line
10)

^^^ Cosmetic.

2 packages and 0 specfiles checked; 1 errors, 10 warnings.
sulaco ~/rpmbuild/SPECS:

+ The package is named according to the  Package Naming Guidelines.
+ The spec file name matches the base package %{name}, in the format
%{name}.spec.
+ The package meets the Packaging Guidelines.
+ The package is licensed with a Fedora approved license and meets the
Licensing Guidelines.
+ The License field in the package spec file matches the actual license (MIT
license, as stated in the sources).
+ The file, containing the text of the license(s) for the package, is included
in %doc.
+ The spec file is written in American English.
+ The spec file for the package is legible.
+ The sources used to build the package, match the upstream source, as provided
in the spec URL.

sulaco ~/rpmbuild/SOURCES: sha256sum v1.4.2.tar.gz*
a7a1c32c7445d9f7515ef35cafb471c13cbd2f0abd61a0596c7ef4bee0583d56  v1.4.2.tar.gz
a7a1c32c7445d9f7515ef35cafb471c13cbd2f0abd61a0596c7ef4bee0583d56 
v1.4.2.tar.gz.1
sulaco ~/rpmbuild/SOURCES: 


+ The package successfully compiles and builds into binary rpms on at least one
primary architecture.
+ All build dependencies are listed in BuildRequires.
0 No need to handle locales.
0 No shared library files.
+ The package does NOT bundle copies of system libraries.
+ The package is not designed to be relocatable.
+ The package owns all directories that it creates.
+ The package does not list a file more than once in the spec file's %files
listings.
+ Permissions on files are set properly.
+ The package consistently uses macros.
+ The package contains code, or permissible content.
0 No extremely large documentation files.
+ Anything, the package includes as %doc, does not affect the runtime of the
application.
0 No header files.
0 No static libraries.
0 No pkgconfig(.pc) files.
0 The package doesn't contain library files with a suffix (e.g. libfoo.so.1.1).
0 No devel sub-package.
+ The package does NOT contain any .la libtool archives.
0 Not a GUI application.
+ The package does not own files or directories already owned by other
packages.
+ All filenames in rpm packages are valid UTF-8.


Please fix issues I noted above and I'll finish this review.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=yN5ImFuSpP&a=cc_unsubscribe
_______________________________________________
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]