[Bug 1298978] Review Request: nodejs-read-package-tree - npm's package tree parser

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 15 20:39:55 UTC 2016


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



--- Comment #10 from Jared Smith <jsmith.fedora at gmail.com> ---
Outstanding items
=================
[!]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[!]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[!]: rpmlint warnings (summary not capitalized)
[!]: Spec file in the SRPM doesn't seem to match the spec file provided
[!]: BuildRequires that are npm packages should be expressed in the form of
     "npm(debuglog)" not "nodejs-debuglog"




Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed

===== MUST items =====

Generic:
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
[x]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[!]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf %{buildroot} present but not required
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[-]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 10240 bytes in 1 files.
[x]: Package complies to the Packaging Guidelines
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: 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 is included in %license.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[!]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: %clean present but not required
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[-]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Sources can be downloaded from URI in Source: tag
[x]: Buildroot is not present
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[!]: Spec file according to URL is the same as in SRPM.
     Note: Spec file as given by url is not the same as in SRPM (see
     attached diff).
     See: (this test has no URL)


Rpmlint
-------
Checking: nodejs-read-package-tree-5.1.2-2.fc24.noarch.rpm
          nodejs-read-package-tree-5.1.2-2.fc24.src.rpm
nodejs-read-package-tree.noarch: W: spelling-error Summary(en_US) npm's -> Np's
nodejs-read-package-tree.noarch: W: summary-not-capitalized C npm's package
tree parser
nodejs-read-package-tree.noarch: W: incoherent-version-in-changelog 5.1.2-1
['5.1.2-2.fc24', '5.1.2-2']
nodejs-read-package-tree.noarch: W: only-non-binary-in-usr-lib
nodejs-read-package-tree.noarch: W: dangling-symlink
/usr/lib/node_modules/read-package-tree/node_modules/read-package-json
/usr/lib/node_modules/read-package-json
nodejs-read-package-tree.noarch: W: dangling-symlink
/usr/lib/node_modules/read-package-tree/node_modules/once
/usr/lib/node_modules/once
nodejs-read-package-tree.noarch: W: dangling-symlink
/usr/lib/node_modules/read-package-tree/node_modules/readdir-scoped-modules
/usr/lib/node_modules/readdir-scoped-modules
nodejs-read-package-tree.noarch: W: dangling-symlink
/usr/lib/node_modules/read-package-tree/node_modules/dezalgo
/usr/lib/node_modules/dezalgo
nodejs-read-package-tree.noarch: W: dangling-symlink
/usr/lib/node_modules/read-package-tree/node_modules/debuglog
/usr/lib/node_modules/debuglog
nodejs-read-package-tree.src: W: spelling-error Summary(en_US) npm's -> Np's
nodejs-read-package-tree.src: W: summary-not-capitalized C npm's package tree
parser
2 packages and 0 specfiles checked; 0 errors, 11 warnings.




Diff spec file in url and in SRPM
---------------------------------
---
/home/jsmith/Documents/Personal/Reviews/1298978/nodejs-read-package-tree.spec  
 2016-01-15 12:44:27.000000000 -0500
+++
/home/jsmith/Documents/Personal/Reviews/1298978/review-nodejs-read-package-tree/srpm-unpacked/nodejs-read-package-tree.spec
   2016-01-15 12:36:01.000000000 -0500
@@ -8,7 +8,10 @@
 Release:        2%{?dist}
 Summary:        npm's package tree parser
+
+Group:          System Environment/Libraries
 License:        ISC
 URL:            https://github.com/npm/read-package-tree
 Source0:       
http://registry.npmjs.org/read-package-tree/-/read-package-tree-%{version}.tgz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

 BuildArch:  noarch
@@ -65,8 +68,4 @@

 %changelog
-* Fri Jan 15 2016 Stephen Gallagher <sgallagh at redhat.com> - 5.1.2-2
-- Run basic tests in %%check
-- Temporarily disable extensive tests due to incompatible nodejs-tap
-
 * Fri Jan 15 2016 Stephen Gallagher <sgallagh at redhat.com> - 5.1.2-1
 - Initial release to support Node.js 4.x


Requires
--------
nodejs-read-package-tree (rpmlib, GLIBC filtered):
    nodejs(engine)
    npm(debuglog)
    npm(dezalgo)
    npm(once)
    npm(read-package-json)
    npm(readdir-scoped-modules)



Provides
--------
nodejs-read-package-tree:
    nodejs-read-package-tree
    npm(read-package-tree)



Source checksums
----------------
http://registry.npmjs.org/read-package-tree/-/read-package-tree-5.1.2.tgz :
  CHECKSUM(SHA256) this package     :
baa89c17fae6a99c2310ed5d4d35adfc875714f20d07f7c0b7c8bf75f757a73b
  CHECKSUM(SHA256) upstream package :
baa89c17fae6a99c2310ed5d4d35adfc875714f20d07f7c0b7c8bf75f757a73b


Generated by fedora-review 0.6.0 (3c5c9d7) last change: 2015-05-20
Command line :/usr/bin/fedora-review -n nodejs-read-package-tree -p
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, Python, fonts, SugarActivity, Ocaml, Perl,
Haskell, R, PHP, Ruby
Disabled flags: EXARCH, DISTTAG, EPEL5, BATCH, EPEL6

-- 
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


More information about the package-review mailing list