Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 713361 - Review Request: ghc-pcre-light - Haskell binding to pcre
Summary: Review Request: ghc-pcre-light - Haskell binding to pcre
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Narasimhan
QA Contact: Fedora Extras Quality Assurance
: 662258 (view as bug list)
Depends On:
Blocks: 662259 highlighting-kate
TreeView+ depends on / blocked
Reported: 2011-06-15 05:59 UTC by Jens Petersen
Modified: 2016-08-14 16:26 UTC (History)
4 users (show)

Fixed In Version: pandoc-
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-07-23 02:09:17 UTC
Type: ---
lakshminaras2002: fedora-review+
gwync: fedora-cvs+

Attachments (Terms of Use)

Description Jens Petersen 2011-06-15 05:59:56 UTC
Spec URL: http://petersen.fedorapeople.org/ghc-pcre-light/ghc-pcre-light.spec
SRPM URL: http://petersen.fedorapeople.org/ghc-pcre-light/ghc-pcre-light-0.4-3.fc15.src.rpm
Description: Perl5 compatible regular expressions library for Haskell

Comment 1 Jens Petersen 2011-06-15 06:01:42 UTC
*** Bug 662258 has been marked as a duplicate of this bug. ***

Comment 2 Narasimhan 2011-07-08 11:00:57 UTC
[+]MUST: rpmlint must be run on every package. The output should be posted in the review.

rpmlint  -i built/ghc-pcre-light-*.rpm ghc-pcre-light.spec 
ghc-pcre-light.src: W: spelling-error %description -l en_US regex -> regexp, reg ex, reg-ex
The value of this tag appears to be misspelled. Please double-check.

ghc-pcre-light.x86_64: W: spelling-error %description -l en_US regex -> regexp, reg ex, reg-ex
The value of this tag appears to be misspelled. Please double-check.

ghc-pcre-light-devel.x86_64: W: spelling-error %description -l en_US regex -> regexp, reg ex, reg-ex
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.
        Version-release - Matches
        License - OK, BSD 3 clause 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.
        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.
Yes, license is BSD 3 clause variant.
[+]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 pcre-light-0.4.tar.gz 
4907d8d239d3c41f06855faee340d052  pcre-light-0.4.tar.gz

md5sum ghc-pcre-light-0.4-3.fc15.src/pcre-light-0.4.tar.gz 
4907d8d239d3c41f06855faee340d052  ghc-pcre-light-0.4-3.fc15.src/pcre-light-0.4.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
[+]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-pcre-light
error: Failed dependencies:
        ghc-pcre-light = 0.4-3.fc15 is needed by (installed) ghc-pcre-light-devel-0.4-3.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.
Installation of packages went fine. Loaded Text.Regex.PCRE.Light.Base into ghci. Loads fine.
[+]SHOULD: If scriptlets are used, those scriptlets must be sane.

cabal2spec-diff is OK. Please upgrade to the latest cabal2spec.


Comment 3 Jens Petersen 2011-07-12 00:42:23 UTC
Thank you for the review.  I'll refresh to the latest cabal2spec
template after importing the srpm.

New Package SCM Request
Package Name: ghc-pcre-light
Short Description: Haskell binding to pcre
Owners: petersen
Branches: f15 f14
InitialCC: haskell-sig

Comment 4 Gwyn Ciesla 2011-07-12 01:05:21 UTC
Git done (by process-git-requests).

Comment 5 Jens Petersen 2011-07-12 09:57:41 UTC
Built for f16 rawhide.


Comment 6 Fedora Update System 2011-07-12 10:23:32 UTC
ghc-pcre-light-0.4-4.fc14 has been submitted as an update for Fedora 14.

Comment 7 Fedora Update System 2011-07-12 10:23:42 UTC
ghc-pcre-light-0.4-4.fc15 has been submitted as an update for Fedora 15.

Comment 8 Fedora Update System 2011-07-12 21:57:08 UTC
ghc-pcre-light-0.4-4.fc14, highlighting-kate-0.2.9-2.fc14 has been pushed to the Fedora 14 testing repository.

Comment 9 Fedora Update System 2011-07-23 02:09:06 UTC
pandoc-, ghc-pcre-light-0.4-4.fc15, highlighting-kate-0.2.9-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-07-31 03:35:36 UTC
pandoc-, ghc-pcre-light-0.4-4.fc14, highlighting-kate-0.2.9-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Jens Petersen 2012-06-21 06:20:24 UTC
Package Change Request
Package Name: ghc-pcre-light
New Branches: el6
Owners: petersen
InitialCC: haskell-sig

Comment 12 Gwyn Ciesla 2012-06-21 12:42:40 UTC
Git done (by process-git-requests).

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