Bug 717864 (ghc-case-insensitive)

Summary: Review Request: ghc-case-insensitive - Haskell case-insensitive string comparison
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: ready
Fixed In Version: ghc-case-insensitive-0.2.0.2-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-30 20:38:48 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: 717867    

Comment 1 Jens Petersen 2011-08-11 04:34:12 UTC
Koji scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=3265315

Comment 2 Jens Petersen 2011-08-11 04:50:54 UTC
Updated to 0.2.0.2.  (I think we can update to 0.3.* later -
it is still not widely adopted in hackage and has
an additional dependency on hashable.)

Spec: http://petersen.fedorapeople.org/reviews/ghc-case-insensitive/ghc-case-insensitive.spec
SRPM: http://petersen.fedorapeople.org/reviews/ghc-case-insensitive/ghc-case-insensitive-0.2.0.2-1.fc15.src.rpm

Koji: http://koji.fedoraproject.org/koji/taskinfo?taskID=3265330

Comment 3 Narasimhan 2011-08-12 17:05:26 UTC
[+]MUST: rpmlint must be run on every package. The output should be posted in the review.
rpmlint  -i *.fc17*.rpm
ghc-case-insensitive.src: W: spelling-error %description -l en_US CaseInsensitive -> Case Insensitive, Case-insensitive, Casein sensitive
The value of this tag appears to be misspelled. Please double-check.

ghc-case-insensitive.src: W: spelling-error %description -l en_US parameterised -> parameter
The value of this tag appears to be misspelled. Please double-check.

ghc-case-insensitive.x86_64: W: spelling-error %description -l en_US CaseInsensitive -> Case Insensitive, Case-insensitive, Casein sensitive
The value of this tag appears to be misspelled. Please double-check.

ghc-case-insensitive.x86_64: W: spelling-error %description -l en_US parameterised -> parameter
The value of this tag appears to be misspelled. Please double-check.

ghc-case-insensitive-devel.x86_64: W: spelling-error %description -l en_US CaseInsensitive -> Case Insensitive, Case-insensitive, Casein sensitive
The value of this tag appears to be misspelled. Please double-check.

ghc-case-insensitive-devel.x86_64: W: spelling-error %description -l en_US parameterised -> parameter
The value of this tag appears to be misspelled. Please double-check.

3 packages and 0 specfiles checked; 0 errors, 6 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
        No prebuilt external bits - OK
        Spec legibity - OK
        Package template - OK, based on cabalspec-0.24
        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 BSD.
[+]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-case-insensitive-0.2.0.2-1.fc15.src/case-insensitive-0.2.0.2.tar.gz 
f3200712ba1054830773a53327e3ff2f  ghc-case-insensitive-0.2.0.2-1.fc15.src/case-insensitive-0.2.0.2.tar.gz

md5sum  ~/Downloads/case-insensitive-0.2.0.2.tar.gz
f3200712ba1054830773a53327e3ff2f  /home/narasimhan/Downloads/case-insensitive-0.2.0.2.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.
[NA]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-case-insensitive
error: Failed dependencies:
        ghc-case-insensitive = 0.2.0.2-1.fc15 is needed by (installed) ghc-case-insensitive-devel-0.2.0.2-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.
[+]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 package, installs fine. Imported Data.CaseInsensitive in ghci. Works fiine
[+]SHOULD: If scriptlets are used, those scriptlets must be sane.

cabal2spec-diff is OK.

APPROVED.

Comment 4 Jens Petersen 2011-08-17 09:53:22 UTC
Thank you for reviewing :)

New Package SCM Request
=======================
Package Name: ghc-case-insensitive
Short Description: Haskell case-insensitive string comparison
Owners: petersen
Branches: f14 f15 f16
InitialCC: haskell-sig

Comment 5 Gwyn Ciesla 2011-08-17 12:02:11 UTC
Git done (by process-git-requests).

Comment 6 Jens Petersen 2011-08-18 01:04:18 UTC
Packages built

Comment 7 Fedora Update System 2011-08-18 01:05:21 UTC
ghc-case-insensitive-0.2.0.2-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ghc-case-insensitive-0.2.0.2-1.fc15

Comment 8 Fedora Update System 2011-08-18 01:05:30 UTC
ghc-case-insensitive-0.2.0.2-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/ghc-case-insensitive-0.2.0.2-1.fc16

Comment 9 Fedora Update System 2011-08-18 01:05:38 UTC
ghc-case-insensitive-0.2.0.2-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ghc-case-insensitive-0.2.0.2-1.fc14

Comment 10 Fedora Update System 2011-08-18 22:03:41 UTC
Package ghc-case-insensitive-0.2.0.2-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ghc-case-insensitive-0.2.0.2-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/ghc-case-insensitive-0.2.0.2-1.fc16
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2011-08-30 20:38:43 UTC
ghc-case-insensitive-0.2.0.2-1.fc16 has been pushed to the Fedora 16 stable repository.

Comment 12 Fedora Update System 2011-08-31 01:27:01 UTC
ghc-case-insensitive-0.2.0.2-1.fc14 has been pushed to the Fedora 14 stable repository.

Comment 13 Fedora Update System 2011-08-31 01:41:30 UTC
ghc-case-insensitive-0.2.0.2-1.fc15 has been pushed to the Fedora 15 stable repository.