Bug 630509 (ghc-split)

Summary: Review Request: ghc-split - Combinator library for splitting lists
Product: [Fedora] Fedora Reporter: Ben Boeckel <fedora>
Component: Package ReviewAssignee: Narasimhan <lakshminaras2002>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, haskell-devel, lakshminaras2002, notting
Target Milestone: ---Flags: lakshminaras2002: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ghc-split-0.1.2.1-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-14 21:32:24 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: 630206    

Description Ben Boeckel 2010-09-06 03:37:14 UTC
Spec: http://benboeckel.net/packaging/ghc-split/ghc-split.spec
SRPM: http://benboeckel.net/packaging/ghc-split/ghc-split-0.1.2-1.fc14.src.rpm
Description:
Combinator library and utility functions for splitting lists.

% lintmock fedora-14-x86_64-bb
ghc-split.src: W: spelling-error Summary(en_US) Combinator -> Combinatorial, Combination, Combinative
ghc-split.src: W: spelling-error %description -l en_US Combinator -> Combinatorial, Combination, Combinative
ghc-split.src: W: strange-permission ghc-split.spec 0640L
ghc-split.src: W: strange-permission split-0.1.2.tar.gz 0640L
ghc-split.x86_64: W: spelling-error Summary(en_US) Combinator -> Combinatorial, Combination, Combinative
ghc-split.x86_64: W: spelling-error %description -l en_US Combinator -> Combinatorial, Combination, Combinative
ghc-split-devel.x86_64: W: spelling-error Summary(en_US) Combinator -> Combinatorial, Combination, Combinative
ghc-split-devel.x86_64: W: spelling-error %description -l en_US Combinator -> Combinatorial, Combination, Combinative
ghc-split-prof.x86_64: E: devel-dependency ghc-split-devel
ghc-split-prof.x86_64: W: spelling-error %description -l en_US Combinator -> Combinatorial, Combination, Combinative
ghc-split-prof.x86_64: W: no-documentation
ghc-split-prof.x86_64: W: devel-file-in-non-devel-package /usr/lib64/ghc-6.12.3/split-0.1.2/libHSsplit-0.1.2_p.a
4 packages and 0 specfiles checked; 1 errors, 11 warnings.

Comment 1 Narasimhan 2010-10-27 19:13:33 UTC
[+]MUST: rpmlint must be run on every package. The output should be posted in the review.

rpmlint -i ghc-split-0.1.2-1.fc15.i686.rpm ghc-split-devel-0.1.2-1.fc15.i686.rpm ghc-split-prof-0.1.2-1.fc15.i686.rpm  ghc-split-0.1.2-1.fc15.src.rpm 
ghc-split.i686: W: spelling-error Summary(en_US) Combinator -> Combinatorial, Combination, Combinative
The value of this tag appears to be misspelled. Please double-check.

ghc-split.i686: W: spelling-error %description -l en_US Combinator -> Combinatorial, Combination, Combinative
The value of this tag appears to be misspelled. Please double-check.

ghc-split-devel.i686: W: spelling-error Summary(en_US) Combinator -> Combinatorial, Combination, Combinative
The value of this tag appears to be misspelled. Please double-check.

ghc-split-devel.i686: W: spelling-error %description -l en_US Combinator -> Combinatorial, Combination, Combinative
The value of this tag appears to be misspelled. Please double-check.

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

ghc-split-prof.i686: W: spelling-error %description -l en_US Combinator -> Combinatorial, Combination, Combinative
The value of this tag appears to be misspelled. Please double-check.

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

ghc-split-prof.i686: W: devel-file-in-non-devel-package /usr/lib/ghc-6.12.3/split-0.1.2/libHSsplit-0.1.2_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.

ghc-split.src: W: spelling-error Summary(en_US) Combinator -> Combinatorial, Combination, Combinative
The value of this tag appears to be misspelled. Please double-check.

ghc-split.src: W: spelling-error %description -l en_US Combinator -> Combinatorial, Combination, Combinative
The value of this tag appears to be misspelled. Please double-check.

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

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

4 packages and 0 specfiles checked; 1 errors, 11 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
        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 .
[+]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 is present and 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.

[~/ghc-split-0.1.2-1.fc14.src] md5sum split-0.1.2.tar.gz
2ebd7a335bc12246b166dd298c6c7ac3  split-0.1.2.tar.gz

[~]$ md5sum  split-0.1.2.tar.gz 
2ebd7a335bc12246b166dd298c6c7ac3  split-0.1.2.tar.gz

[+]MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture.
Yes, built on x86

[+]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.
[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.
[+]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.
[+]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.
API Documentation in -devel subpackage.
README in the base package.

[+]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}
[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: At the beginning of %install, each package MUST run rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
[+] MUST: Each package must have a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
[+]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. Imported the module in a sample program and compiled it with ghc.

[+]SHOULD: If scriptlets are used, those scriptlets must be sane.

cabal2spec-diff is OK.

APPROVED.

Comment 2 Ben Boeckel 2010-10-30 16:44:07 UTC
Thanks.

New Package SCM Request
=======================
Package Name: ghc-split
Short Description: Combinator library for splitting lists
Owners: mathstuf
Branches: f13 f14
InitialCC: haskell-sig

Comment 3 Kevin Fenzi 2010-10-30 23:20:47 UTC
Git done (by process-git-requests).

Comment 4 Fedora Update System 2010-10-31 00:46:23 UTC
ghc-split-0.1.2.1-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/ghc-split-0.1.2.1-1.fc13

Comment 5 Fedora Update System 2010-10-31 00:46:30 UTC
ghc-split-0.1.2.1-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ghc-split-0.1.2.1-1.fc14

Comment 6 Fedora Update System 2010-10-31 21:31:38 UTC
ghc-split-0.1.2.1-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update ghc-split'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/ghc-split-0.1.2.1-1.fc13

Comment 7 Fedora Update System 2010-11-14 21:32:19 UTC
ghc-split-0.1.2.1-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2010-11-14 21:36:31 UTC
ghc-split-0.1.2.1-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Jens Petersen 2012-12-07 05:16:19 UTC
I would like to add this to epel6.


Package Change Request
======================
Package Name: ghc-split
New Branches: el6
Owners: mathstuf petersen
InitialCC: haskell-sig

Comment 10 Gwyn Ciesla 2012-12-07 13:14:17 UTC
Git done (by process-git-requests).

Comment 11 Fedora Update System 2012-12-10 09:11:47 UTC
ghc-split-0.1.4.3-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/ghc-split-0.1.4.3-2.el6

Comment 12 Fedora Update System 2012-12-25 20:08:18 UTC
ghc-split-0.1.4.3-2.el6 has been pushed to the Fedora EPEL 6 stable repository.