[Bug 630275] Review Request: ghc-cereal - A binary serialization library

bugzilla at redhat.com bugzilla at redhat.com
Sun Mar 6 01:51:48 UTC 2011


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

Lakshmi Narasimhan <lakshminaras2002 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |MODIFIED
               Flag|                            |fedora-review+

--- Comment #4 from Lakshmi Narasimhan <lakshminaras2002 at gmail.com> 2011-03-05 20:51:46 EST ---
[+]MUST: rpmlint must be run on every package. The output should be posted in
the review.
rpmlint  -i ghc-cereal-*.rpm
ghc-cereal.src: W: spelling-error %description -l en_US handleable -> handle
able, handle-able, handlebar
The value of this tag appears to be misspelled. Please double-check.

ghc-cereal.src: W: strange-permission cereal-0.3.0.0.tar.gz 0640L
A file that you listed to include in your package has strange permissions.
Usually, a file should have 0644 permissions.

ghc-cereal.src: W: strange-permission ghc-cereal.spec 0640L
A file that you listed to include in your package has strange permissions.
Usually, a file should have 0644 permissions.

ghc-cereal.x86_64: W: spelling-error %description -l en_US handleable -> handle
able, handle-able, handlebar
The value of this tag appears to be misspelled. Please double-check.

ghc-cereal-devel.x86_64: W: spelling-error %description -l en_US handleable ->
handle able, handle-able, handlebar
The value of this tag appears to be misspelled. Please double-check.

ghc-cereal-prof.x86_64: E: devel-dependency ghc-cereal-devel
Your package has a dependency on a devel package but it's not a devel package
itself.

ghc-cereal-prof.x86_64: W: spelling-error %description -l en_US handleable ->
handle able, handle-able, handlebar
The value of this tag appears to be misspelled. Please double-check.

ghc-cereal-prof.x86_64: W: no-documentation
The package contains no documentation (README, doc, etc). You have to include
documentation files.

ghc-cereal-prof.x86_64: W: devel-file-in-non-devel-package
/usr/lib64/ghc-6.12.3/cereal-0.3.0.0/libHScereal-0.3.0.0_p.a
A development file (usually source code) is located in a non-devel package. If
you want to include source code in your package, be sure to create a
development package.

4 packages and 0 specfiles checked; 1 errors, 8 warnings.
[+]MUST: The package must be named according to the Package Naming Guidelines.
[+]MUST: The spec file name must match the base package %{name}, in the format
%{name}.spec
[+]MUST: The package must meet the Packaging Guidelines.
        Naming-Yes
        Version-release - Matches
        License - OK, BSD license
        No prebuilt external bits - OK
        Spec legibity - OK
        Package template - OK
        Arch support - OK
        Libexecdir - OK
        rpmlint - yes
        changelogs - OK
        Source url tag  - OK, validated.
        Buildroot is ignored - present anyway. OK
        %clean is ignored - present anyway. OK
        Build Requires list - OK
        Summary and description - OK
        API documentation - OK

[+]MUST: The package must be licensed with a Fedora approved license and meet
the Licensing Guidelines.
Packaged with BSD license
[+]MUST: The License field in the package spec file must match the actual
license.
[+]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 must be included in %doc.
Yes, LICENSE file contains the license text.
[+]MUST: The spec file must be written in American English.
[+]MUST: The spec file for the package MUST be legible.
[+]MUST: 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.

md5sum ghc-cereal-0.3.0.0-1.fc14.src/cereal-0.3.0.0.tar.gz 
872e09f731afa0060ec3ecca1a3319dc 
ghc-cereal-0.3.0.0-1.fc14.src/cereal-0.3.0.0.tar.gz

md5sum ~/Downloads/cereal-0.3.0.0.tar.gz 
872e09f731afa0060ec3ecca1a3319dc  ~/Downloads/cereal-0.3.0.0.tar.gz

[+]MUST: The package MUST successfully compile and build into binary rpms on at
least one primary architecture.
Built on x86_64.
[+]MUST: If the package does not successfully compile, build or work on an
architecture, then those architectures should be listed in the spec in
ExcludeArch.
[+]MUST: All build dependencies must be listed in BuildRequires.
[NA]MUST: The spec file MUST handle locales properly using the %find_lang macro
[NA]MUST: Packages stores shared library files must call ldconfig in %post and
%postun.
[+]MUST: Packages must NOT bundle copies of system libraries.
Checked with rpmquery --list
[NA]MUST: If the package is designed to be relocatable, the packager must state
this fact in the request for review.
[+]MUST: A package must own all directories that it creates.
Checked with rpmquery --whatprovides
[+]MUST: A Fedora package must not list a file more than once in the spec
file's %files listings.
[+]MUST: Permissions on files must be set properly.
Checked with ls -LR
[+]MUST: Each package must consistently use macros.
[+]MUST: The package must contain code, or permissable content.
[+]MUST: Large documentation files must go in a -doc subpackage.
[+]MUST: If a package includes something as %doc, it must not affect the
runtime of the application.
[+]MUST: Header files must be in a -devel package.
[NA]MUST: Static libraries must be in a -static package.
[NA]MUST: If a package contains library files with a suffix
(e.g.libfoo.so.1.1), then library files that end in .so (without suffix) must
go in a -devel package.
[+]MUST: devel packages must require the base package using a fully versioned
dependency: Requires: {name} = %{version}-%{release}

rpm -e ghc-cereal-devel
error: Failed dependencies:
 ghc-cereal-devel = 0.3.0.0-1.fc14 is needed by (installed)
ghc-cereal-prof-0.3.0.0-1.fc14.x86_64

rpm -e ghc-cereal-devel
error: Failed dependencies:
 ghc-cereal-devel = 0.3.0.0-1.fc14 is needed by (installed)
ghc-cereal-prof-0.3.0.0-1.fc14.x86_64

[NA]MUST: Packages must NOT contain any .la libtool archives, these must be
removed in the spec if they are built.
[NA]MUST: Packages containing GUI applications must include a %{name}.desktop
file, and that file must be properly installed with desktop-file-install in the
%install section
[+]MUST: Packages must not own files or directories already owned by other
packages.
[+]MUST: All filenames in rpm packages must be valid UTF-8.

Should items
[+]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.
[+]SHOULD: The reviewer should test that the package functions as described.
Installed the packages. Installs fine. Imported Data.Serialize.Builder into
ghci. Works fine.
[+]SHOULD: If scriptlets are used, those scriptlets must be sane.

cabal2spec-diff is OK.

APPROVED.

Please update to spec file version cabal2spec-0.22.4

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



More information about the package-review mailing list