Bug 471003

Summary: Review Request: cabal-install - Haskell package utility
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: Package ReviewAssignee: Bryan O'Sullivan <bos>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bos, fedora-package-review, fernandohsanches, haskell-devel, notting
Target Milestone: ---Flags: bos: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-13 09:37:18 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: 425882, 470756    
Bug Blocks: 446451, 523883    
Attachments:
Description Flags
Log of failed build attempt none

Description Jens Petersen 2008-11-11 10:51:43 UTC
Spec URL: http://petersen.fedorapeople.org/cabal-install/cabal-install.spec
SRPM URL: http://petersen.fedorapeople.org/cabal-install/cabal-install-0.6.0-1.fc9.src.rpm
Description: 
cabal-install provides a user-based Haskell Hackage package manager
which is essential for modern Haskell development.

Comment 1 Jens Petersen 2008-11-11 10:54:14 UTC
This requires ghc-zlib and ghc-HTTP which are currently under review.

Comment 2 Jason Tibbitts 2008-11-11 13:52:13 UTC
I think the dependencies are backwards.  Does this block ghc-zlib or is it the other way around?

Comment 3 Jens Petersen 2008-11-11 23:19:18 UTC
Oops thanks - made this depend on ghc-zlib and ghc-HTTP reviews.

Comment 4 Jens Petersen 2009-01-07 05:02:36 UTC
Dependencies are now in rawhide.

Updating package for latest packaging macros.

Spec URL: http://petersen.fedorapeople.org/cabal-install/cabal-install.spec
SRPM URL:
http://petersen.fedorapeople.org/cabal-install/cabal-install-0.6.0-2.fc10.src.rpm
(please ignore the disttag - requires ghc in rawhide to build currently)

Comment 5 Jens Petersen 2009-02-09 11:58:57 UTC
ping anyone? :)

It would be really good to get this into F11 - it is the "rubygems" of the Haskell world. :)

Comment 6 Jens Petersen 2009-02-09 13:56:23 UTC
I rebuilt (updated) ghc-zlib - so that it installs correctly and this should actually build again now on rawhide (oops!):

http://koji.fedoraproject.org/koji/taskinfo?taskID=1115148

As soon as ghc-6.10.1 has been pushed to f10-updates I will build ghc-zlib and ghc-HTTP there too.


Spec URL: http://petersen.fedorapeople.org/cabal-install/cabal-install.spec
SRPM URL:
http://petersen.fedorapeople.org/cabal-install/cabal-install-0.6.0-3.fc10.src.rpm

(just fixed the URL field)

Comment 7 Bryan O'Sullivan 2009-02-11 19:08:56 UTC
I tried building the above SRPM on F10 using the following packages:

ghc-6.10.1-8.fc11.i386
ghc-zlib-0.5.0.0-5.fc11.i386
ghc-HTTP-3001.1.5-1.fc11.i386

The build failed per the attachment.

Comment 8 Bryan O'Sullivan 2009-02-11 19:09:35 UTC
Created attachment 331608 [details]
Log of failed build attempt

Failed build.

Comment 9 Jens Petersen 2009-02-12 01:39:31 UTC
The .spec file in comment 6 does not use %cabal_build: you trying another older package perhaps?

Comment 10 Bryan O'Sullivan 2009-02-12 06:56:07 UTC
Here's my review.

#  MUST: rpmlint must be run on every package.

  srpm is clean, binary rpm reports these:

  cabal-install.x86_64: W: non-conffile-in-etc /etc/bash_completion.d/cabal
  cabal-install.x86_64: W: executable-stack /usr/bin/cabal

  These are both acceptable.

# MUST: The package must be named according to the Package Naming Guidelines.

OK.

# MUST: The spec file name must match the base package %{name}.

OK.

# MUST: The package must meet the Packaging Guidelines.

OK.

# MUST: The package must be licensed with a Fedora approved license [...]

BSD3 == OK.

# MUST: The License field in the package spec file must match [...]

OK.

# MUST: license(s) in %doc.

OK.

# MUST: The spec file must be written in American English.

OK.

# MUST: The spec file for the package MUST be legible.

OK.

# MUST: The sources used to build the package must match the upstream [...]

OK.

# MUST: successfully compile and build [...]

OK.

# MUST: architectures in ExcludeArch.

OK.

# MUST: All build dependencies must be listed in BuildRequires [...]

OK.

# MUST: The spec file MUST handle locales properly.

OK.

# MUST: shared library ldconfig

NA.

# MUST: If the package is designed to be relocatable [...]

NA.

# MUST: A package must own all directories that it creates.

OK.

# MUST: A package must not contain any duplicate files in the %files listing.

OK.

# MUST: Permissions on files must be set properly.

OK.

# MUST: Each package must have a %clean section [...]

OK.

# MUST: Each package must consistently use macros.

OK.

# MUST: The package must contain code, or permissable content.

OK.

# MUST: Large documentation files must go in a -doc subpackage.

NA.

# MUST: %doc must not affect runtime

OK.

# MUST: Header files must be in a -devel package.

NA.

# MUST: Static libraries must be in a -static package.

Exempt.

# MUST: Packages containing pkgconfig(.pc) files [...]

NA.

# MUST: If a package contains library files with a suffix [...]

NA.

# MUST: In the vast majority of cases, devel packages [...]

NA.

# MUST: Packages must NOT contain any .la libtool archives [...]

NA.

# MUST: Packages containing GUI applications [...]

NA.

# MUST: Packages must not own files or directories already owned [...]

NA.

# MUST: %install rm -rf %{buildroot} (or $RPM_BUILD_ROOT).

OK.

# MUST: All filenames in rpm packages must be valid UTF-8.

OK.

# SHOULD: If the source package does not include license text [...]

NA.

# SHOULD: description and summary translations

No.

# SHOULD: The reviewer should test that the package builds in mock.

OK.

# SHOULD: binary rpms on all supported architectures.

Tested x86_64 and i386.

# SHOULD: functions as described

OK.

# SHOULD: If scriptlets are used, those scriptlets must be sane.

OK.

# SHOULD: Usually, subpackages other than devel [...]

NA.

# SHOULD: The placement of pkgconfig(.pc) files [...]

NA.

# SHOULD: If the package has file dependencies outside of [...]

This package is APPROVED.

Comment 11 Jens Petersen 2009-02-13 04:11:47 UTC
Thanks, Bryan, for reviewing.

New Package CVS Request
=======================
Package Name: cabal-install
Short Description: Haskell package (hackage) tool
Owners: petersen
Branches: F-10
InitialCC:  haskell-sig

Comment 12 Kevin Fenzi 2009-02-13 06:41:13 UTC
cvs done.

Comment 13 Jens Petersen 2009-02-13 09:37:18 UTC
Package imported and built.

Comment 14 Jens Petersen 2010-09-29 05:45:03 UTC
Package Change Request
======================
Package Name: cabal-install
New Branches: el6
Owners: petersen
InitialCC: haskell-sig

Comment 15 Kevin Fenzi 2010-09-29 18:36:52 UTC
Git done (by process-git-requests).

Comment 16 Jens Petersen 2013-11-13 03:35:13 UTC
Package Change Request
======================
Package Name: cabal-install
New Branches: el5
Owners: petersen
InitialCC: haskell-sig

Comment 17 Gwyn Ciesla 2013-11-13 12:58:03 UTC
Git done (by process-git-requests).