Bug 828735 - Review Request: ghc-numbers - Instances of the numerical classes for a variety of different numbers
Summary: Review Request: ghc-numbers - Instances of the numerical classes for a variet...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Narasimhan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-05 09:42 UTC by Shakthi Kannan
Modified: 2012-08-09 23:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-09 23:12:06 UTC
Type: ---
Embargoed:
lakshminaras2002: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Shakthi Kannan 2012-06-05 09:42:37 UTC
Spec URL: http://shakthimaan.fedorapeople.org/SPECS/ghc-numbers.spec
SRPM URL: http://shakthimaan.fedorapeople.org/SRPMS/ghc-numbers-3000.0.0.0-1.fc16.src.rpm
Description: Instances of the numerical classes for a variety of different numbers
Fedora Account System Username: shakthimaan

Comment 1 Shakthi Kannan 2012-06-05 09:44:02 UTC
$  rpmlint ghc-numbers.spec
0 packages and 1 specfiles checked; 0 errors, 0 warnings.

$  rpmlint ghc-numbers-3000.0.0.0-1.fc16.src.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

$  rpmlint ghc-numbers-3000.0.0.0-1.fc16.x86_64.rpm 1 packages and 0 specfiles checked; 0 errors, 0 warnings.

$  rpmlint ghc-numbers-devel-3000.0.0.0-1.fc16.x86_64.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Successful Koji builds for F16, F17 and F18 respectively:

http://koji.fedoraproject.org/koji/taskinfo?taskID=4128024
http://koji.fedoraproject.org/koji/taskinfo?taskID=4128031
http://koji.fedoraproject.org/koji/taskinfo?taskID=4128035

Comment 2 Narasimhan 2012-07-31 04:51:05 UTC
[+]MUST: rpmlint must be run on every package. The output should be posted in the review.
 rpmlint -i ghc-numbers-3000.0.0.0-1.fc15.src.rpm ghc-numbers-3000.0.0.0-1.fc15.x86_64.rpm ghc-numbers-devel-3000.0.0.0-1.fc15.x86_64.rpm  ../ghc-numbers.spec 
3 packages and 1 specfiles checked; 0 errors, 0 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 .
[+]MUST: The License field in the package spec file must match the actual license.
BSD
[+]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 n9bb1f90a517260e264cfe6900c1a538bumbers-3000.0.0.0.tar.gz ghc-numbers-3000.0.0.0-1.fc16.src/numbers-3000.0.0.0.tar.gz 
  numbers-3000.0.0.0.tar.gz
9bb1f90a517260e264cfe6900c1a538b  ghc-numbers-3000.0.0.0-1.fc16.src/numbers-3000.0.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.
[+]MUST: Packages must NOT bundle copies of system libraries.
Checked with rpmquery --list
[+]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: If a package includes something as %doc, it must not affect the runtime of the application.
[+]MUST: devel packages must require the base package using a fully versioned dependency: Requires: {name} = %{version}-%{release}
rpm -e ghc-numbers
error: Failed dependencies:
        ghc(numbers-3000.0.0.0) = 003415b346b0f314cce12fcf21a874ec is needed by (installed) ghc-numbers-devel-3000.0.0.0-1.fc15.x86_64
        ghc-numbers = 3000.0.0.0-1.fc15 is needed by (installed) ghc-numbers-devel-3000.0.0.0-1.fc15.x86_64
[+]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. Loaded Data.Number.Natural into ghci. Loads fine.
[+]SHOULD: If scriptlets are used, those scriptlets must be sane.

cabal2spec-diff is OK.

APPROVED.

Please provide a different summary and description for the package in the spec file.

Comment 3 Shakthi Kannan 2012-07-31 04:56:54 UTC
Thanks for the review.

New Package SCM Request
=======================
Package Name: ghc-numbers
Short Description: Instances of the numerical classes for a variety of different numbers
Owners: shakthimaan
Branches: f16 f17 f18
InitialCC: haskell-sig

Comment 4 Gwyn Ciesla 2012-07-31 09:51:23 UTC
Git done (by process-git-requests).

f18 not quite branched yet.

Comment 5 Fedora Update System 2012-07-31 11:51:40 UTC
ghc-numbers-3000.0.0.0-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ghc-numbers-3000.0.0.0-2.fc16

Comment 6 Fedora Update System 2012-07-31 11:51:51 UTC
ghc-numbers-3000.0.0.0-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ghc-numbers-3000.0.0.0-2.fc17

Comment 7 Fedora Update System 2012-08-01 18:26:28 UTC
ghc-numbers-3000.0.0.0-2.fc17 has been pushed to the Fedora 17 testing repository.

Comment 8 Fedora Update System 2012-08-09 23:12:06 UTC
ghc-numbers-3000.0.0.0-2.fc16 has been pushed to the Fedora 16 stable repository.

Comment 9 Fedora Update System 2012-08-09 23:22:33 UTC
ghc-numbers-3000.0.0.0-2.fc17 has been pushed to the Fedora 17 stable repository.


Note You need to log in before you can comment on or make changes to this bug.