[Bug 760696] Review Request: rubygem-mongo - Ruby driver for the MongoDB

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

 



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

--- Comment #12 from Michael Scherer <misc@xxxxxxxx> ---
There is a few things to fix :
- no %check ( maybe done on purpose, a comment would be nice )

- not the latest version, according to the website.

The rest is good otherwise.


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

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated



==== Generic ====
[x]: EXTRA Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: EXTRA Spec file according to URL is the same as in SRPM.
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[-]: MUST %build honors applicable compiler flags or justifies otherwise.
[x]: MUST All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: MUST Buildroot is not present
     Note: Unless packager wants to package for EPEL5 this is fine
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean would be needed if support for EPEL is required
[x]: MUST Sources contain only permissible code or content.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: Note: defattr macros not found. They would be needed for EPEL5
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[-]: MUST Package contains desktop file if it is a GUI application.
[-]: MUST Development files must be in a -devel package
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[x]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Fully versioned dependency in subpackages, if present.
[x]: MUST Package complies to the Packaging Guidelines
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf would be needed if support for EPEL5 is required
[x]: MUST Large documentation files are in a -doc subpackage, if required.
[x]: MUST 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 %doc.
[x]: MUST License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "Apache (v2.0)" For detailed output of licensecheck see file:
     /home/misc/checkout/git/FedoraReview/760696-rubygem-
     mongo/licensecheck.txt
[x]: MUST License file installed when any subpackage combination is installed.
[x]: MUST Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: MUST Package is named using only allowed ascii characters.
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generate any conflict.
     Note: Package contains no Conflicts: tag(s)
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[-]: MUST If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[x]: MUST Package installs properly.
[x]: MUST Package is not relocatable.
[x]: MUST Requires correct, justified where necessary.
[x]: MUST Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: MUST Package contains systemd file(s) if in need.
[x]: MUST File names are valid UTF-8.
[x]: SHOULD Reviewer should test that the package builds in mock.
[-]: SHOULD 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]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
     /usr/sbin.
[x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[x]: SHOULD Package functions as described.
[!]: SHOULD Latest version is packaged.
[x]: SHOULD Package does not include license text files separate from
     upstream.
[x]: SHOULD SourceX tarball generation or download is documented.
[x]: SHOULD SourceX / PatchY prefixed with %{name}.
     Note: Source0 (mongo-1.4.0.gem)
[x]: SHOULD SourceX is a working URL.
[-]: SHOULD Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: SHOULD Package should compile and build into binary rpms on all supported
     architectures.
[!]: SHOULD %check is present and all tests pass.
[x]: SHOULD Packages should try to preserve timestamps of original installed
     files.
[x]: SHOULD Spec use %global instead of %define.


==== Language ====
[x]: MUST Gem package must not define a non-gem subpackage
[x]: MUST Gem package must exclude cached Gem.
[x]: MUST Platform dependent files must all go under %{gem_extdir}, platform
     independent under %{gem_dir}.
[x]: MUST Gem package is named rubygem-%{gem_name}
[x]: MUST Package contains BuildRequires: rubygems-devel.
[x]: MUST Gem package must define %{gem_name} macro.
[x]: MUST Pure Ruby package must be built as noarch
[x]: MUST Package contains Requires: ruby(abi).
[x]: SHOULD Specfile should utilize macros from rubygem-devel package.
[x]: SHOULD Test suite should not be run by rake.
[!]: SHOULD Test suite of the library should be run.


Issues
------
[!]: SHOULD %check is present and all tests pass.
[!]: SHOULD Test suite of the library should be run.
[!]: SHOULD Latest version is packaged.

Rpmlint
-------
Checking: rubygem-mongo-doc-1.4.0-5.fc17.noarch.rpm
          rubygem-mongo-1.4.0-5.fc17.noarch.rpm
          rubygem-mongo-1.4.0-5.fc17.src.rpm
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/connecting%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/unlock%21-i.ri %21
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Node/eql%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/connected%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/ReplSetConnection/connected%3f-i.ri
%3f
rubygem-mongo-doc.noarch: W: wrong-file-end-of-line-encoding
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/safe-i.ri
rubygem-mongo-doc.noarch: W: wrong-file-end-of-line-encoding
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/MongoDBError/result-i.ri
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Node/active%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Node/primary%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/slave_ok%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/GridIO/%5b%5d%3d-i.ri %5b
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/GridIO/%5b%5d%3d-i.ri %5d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/GridIO/%5b%5d%3d-i.ri %3d
rubygem-mongo-doc.noarch: W: wrong-file-end-of-line-encoding
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/MongoDBError/error_code-i.ri
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/ReplSetConnection/read_primary%3f-i.ri
%3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Collection/%5b%5d-i.ri %5b
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Collection/%5b%5d-i.ri %5d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/strict%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Cursor/closed%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Collection/capped%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: wrong-file-end-of-line-encoding
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/cache_time-i.ri
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/ReplSetConnection/slave_ok%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/PoolManager/healthy%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/read_primary%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/active%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: wrong-file-end-of-line-encoding
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/name-i.ri
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/ReplSetConnection/connecting%3f-i.ri
%3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/ok%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Cursor/rewind%21-i.ri %21
rubygem-mongo-doc.noarch: W: wrong-file-end-of-line-encoding
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/connection-i.ri
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/error%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/TimeoutWrapper/timeout_lib%3d-i.ri %3d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Cursor/has_next%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Cursor/alive%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/lock%21-i.ri %21
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Collection/hint%3d-i.ri %3d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/%5b%5d-i.ri %5b
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/%5b%5d-i.ri %5d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Node/secondary%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/locked%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/ServerVersion/%3c%3d%3e-i.ri %3c
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/ServerVersion/%3c%3d%3e-i.ri %3d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/ServerVersion/%3c%3d%3e-i.ri %3e
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/%5b%5d-i.ri %5b
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/%5b%5d-i.ri %5d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/GridIO/eof%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/GridIO/%5b%5d-i.ri %5b
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/GridIO/%5b%5d-i.ri %5d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/profiling_level%3d-i.ri %3d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Node/connected%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/ReplSetConnection/primary%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/DB/pk_factory%3d-i.ri %3d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Connection/primary%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/GridExt/InstanceMethods/exist%3f-i.ri
%3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Collection/%3c%3c-i.ri %3c
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Collection/%3c%3c-i.ri %3c
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Support/ok%3f-i.ri %3f
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Node/%3d%3d-i.ri %3d
rubygem-mongo-doc.noarch: W: unexpanded-macro
/usr/share/gems/doc/mongo-1.4.0/ri/Mongo/Node/%3d%3d-i.ri %3d
rubygem-mongo.noarch: W: no-manual-page-for-binary mongo_console
3 packages and 0 specfiles checked; 0 errors, 60 warnings.


Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:
Requires
--------
rubygem-mongo-doc-1.4.0-5.fc17.noarch.rpm (rpmlib, GLIBC filtered):

    /usr/bin/ruby  
    rubygem-mongo = 1.4.0-5.fc17

rubygem-mongo-1.4.0-5.fc17.noarch.rpm (rpmlib, GLIBC filtered):

    /usr/bin/env  
    /usr/bin/ruby  
    ruby(abi) = 1.9.1
    rubygem(bson) = 1.4.0
    rubygems  

Provides
--------
rubygem-mongo-doc-1.4.0-5.fc17.noarch.rpm:

    rubygem-mongo-doc = 1.4.0-5.fc17

rubygem-mongo-1.4.0-5.fc17.noarch.rpm:

    rubygem(mongo) = 1.4.0
    rubygem-mongo = 1.4.0-5.fc17

MD5-sum check
-------------
http://rubygems.org/gems/mongo-1.4.0.gem :
  MD5SUM this package     : 03dcc9bc498a2fb622d0807f5555ed58
  MD5SUM upstream package : 03dcc9bc498a2fb622d0807f5555ed58


Generated by fedora-review 0.2.0 (a5c4ced) last change: 2012-07-22
Command line :./try-fedora-review -b 760696
External plugins:

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