Bug 751917 (ghc-zlib-enum)

Summary: Review Request: ghc-zlib-enum - Enumerator interface for zlib compression
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: Package ReviewAssignee: Narasimhan <lakshminaras2002>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: haskell-devel, lakshminaras2002, notting, package-review
Target Milestone: ---Flags: lakshminaras2002: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ghc-zlib-enum-0.2.1-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-04 02:39:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 648099, 736577    

Description Jens Petersen 2011-11-08 03:09:38 UTC
Spec URL: http://petersen.fedorapeople.org/reviews/ghc-zlib-enum/ghc-zlib-enum.spec
SRPM URL: http://petersen.fedorapeople.org/reviews/ghc-zlib-enum/ghc-zlib-enum-0.2.1-1.fc15.src.rpm
Description: 
This library provides Haskell enumeratees for zlib compression/decompression.

It is needed by both snap-core >= 0.5.5 and http-enumerator.
http://packdeps.haskellers.com/reverse/zlib-enum

Comment 1 Jens Petersen 2011-11-08 03:16:09 UTC
Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=3496255

Comment 2 Narasimhan 2011-11-19 12:48:48 UTC
[+]MUST: rpmlint must be run on every package. The output should be posted in the review.

rpmlint  -i ghc-zlib-enum-0.2.1-1.fc15.src.rpm ghc-zlib-enum-0.2.1-1.fc15.x86_64.rpm ghc-zlib-enum-devel-0.2.1-1.fc15.x86_64.rpm ../ghc-zlib-enum.spec 
ghc-zlib-enum.src: W: spelling-error %description -l en_US enumeratees -> enumerates, enumerate es, enumerate-es
The value of this tag appears to be misspelled. Please double-check.

ghc-zlib-enum.x86_64: W: spelling-error %description -l en_US enumeratees -> enumerates, enumerate es, enumerate-es
The value of this tag appears to be misspelled. Please double-check.

ghc-zlib-enum-devel.x86_64: W: spelling-error %description -l en_US enumeratees -> enumerates, enumerate es, enumerate-es
The value of this tag appears to be misspelled. Please double-check.

3 packages and 1 specfiles checked; 0 errors, 3 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
        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.
        Build Requires list - OK
        Summary and description - OK
        API documentation - OK, in devel package

[+]MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines.
Licensed as MIT.
[+]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.
LICENSE file is included.
[+]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-zlib-enum-0.2.1-1.fc15.src/zlib-enum-0.2.1.tar.gz 
406527a84da5b22bf1cf5e9ad3eac43a  ghc-zlib-enum-0.2.1-1.fc15.src/zlib-enum-0.2.1.tar.gz

md5sum  ~/Downloads/zlib-enum-0.2.1.tar.gz
406527a84da5b22bf1cf5e9ad3eac43a ~/Downloads/zlib-enum-0.2.1.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.
[+]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 permissible 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.
[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-zlib-enum
error: Failed dependencies:
        ghc(zlib-enum-0.2.1) = 7198d5f0bd159725d9eb7a79395aec6e is needed by (installed) ghc-zlib-enum-devel-0.2.1-1.fc15.x86_64
        ghc-zlib-enum = 0.2.1-1.fc15 is needed by (installed) ghc-zlib-enum-devel-0.2.1-1.fc15.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.
Checked with rpmquery --whatprovides and rpmquery --list
[+]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. Loaded Codec.Zlib.Enum into ghci. Loads fine
[+]SHOULD: If scriptlets are used, those scriptlets must be sane.

cabal2spec-diff is OK.

Comment 3 Narasimhan 2011-11-19 18:02:37 UTC
APPROVED.

Comment 4 Jens Petersen 2011-11-21 03:58:17 UTC
Thank you for reviewing! :)


New Package SCM Request
=======================
Package Name: ghc-zlib-enum
Short Description:  Enumerator interface for zlib compression
Owners: petersen
Branches: f16 f15 el6
InitialCC: haskell-sig

Comment 5 Gwyn Ciesla 2011-11-21 13:33:32 UTC
Git done (by process-git-requests).

Comment 6 Fedora Update System 2011-11-22 01:32:50 UTC
ghc-zlib-enum-0.2.1-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ghc-zlib-enum-0.2.1-1.fc15

Comment 7 Fedora Update System 2011-11-22 01:32:58 UTC
ghc-zlib-enum-0.2.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ghc-zlib-enum-0.2.1-1.fc16

Comment 8 Fedora Update System 2011-11-23 00:55:08 UTC
ghc-zlib-enum-0.2.1-1.fc16 has been pushed to the Fedora 16 testing repository.

Comment 9 Fedora Update System 2011-12-04 02:39:30 UTC
ghc-zlib-enum-0.2.1-1.fc15 has been pushed to the Fedora 15 stable repository.

Comment 10 Fedora Update System 2011-12-04 02:46:37 UTC
ghc-zlib-enum-0.2.1-1.fc16 has been pushed to the Fedora 16 stable repository.