Spec URL: http://konradm.fedorapeople.org/fedora/SPECS/ghc-haskell-src-exts.spec SRPM URL: http://konradm.fedorapeople.org/fedora/SPECS/ghc-haskell-src-exts.spec Description: Haskell-Source with Extensions (HSE, haskell-src-exts) is an extension of the standard haskell-src package, and handles most common syntactic extensions to Haskell, including: * Multi-parameter type classes with functional dependencies * Indexed type families (including associated types) * Empty data declarations * GADTs * Implicit parameters * Template Haskell and a few more. Apart from these standard extensions, it also handles regular patterns as per the HaRP extension as well as HSX-style embedded XML syntax.
Koji build can't be done because happy and cpphs aren't in yet (but they have been submitted for review).
I think Conrad realised already, but happy is already in fedora actually just for the benefit of other reviewers.
Right, sorry. Still can't be built because cpphs isn't in yet.
Now that cpphs is done, maybe you update this to the latest templates?
Updated; see: http://konradm.fedorapeople.org/fedora/SPECS/ghc-haskell-src-exts.spec http://konradm.fedorapeople.org/fedora/SRPMS/ghc-haskell-src-exts-0.4.8-2.fc9.src.rpm
This looks ready for review. I will try to do that soon unless someone else takes it first. :)
Created attachment 332010 [details] ghc-haskell-src-exts.spec-1.patch Sorry to keep moving the goal-posts... I released cabal2spec-0.6. This little patch should bring this package in line with it.
New URLs: http://konradm.fedorapeople.org/fedora/SPECS/ghc-haskell-src-exts.spec http://konradm.fedorapeople.org/fedora/SRPMS/ghc-haskell-src-exts-0.4.8-3.fc10.src.rpm
cabal2spec-diff output looks good. You might want to replace %define by %global eventually to keep up with the latest fedora packaging recommendations. (cabal2spec-0.7 does that.) Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1156937 rpmlint output: ghc-haskell-src-exts.i386: W: devel-file-in-non-devel-package /usr/lib/ghc-6.10.1/haskell-src-exts-0.4.8/libHShaskell-src-exts-0.4.8.a ghc-haskell-src-exts-doc.i386: E: description-line-too-long This package contains development documentation files for the ghc-haskell-src-exts ghc-haskell-src-exts-prof.i386: W: no-documentation ghc-haskell-src-exts-prof.i386: W: devel-file-in-non-devel-package /usr/lib/ghc-6.10.1/haskell-src-exts-0.4.8/libHShaskell-src-exts-0.4.8_p.a Probably good to fix the error above. cpphs is needed by ghc-haskell-src-exts.i386?
Here is the review: +:ok, =:needs attention, -:needs fixing MUST Items: [=] MUST: rpmlint must be run on every package. The output should be posted in the review. modulo above rpmlint description error [+] MUST: The package must be named according to the Package Naming Guidelines. [+] MUST: The spec file name must match the base package %{name} [+] MUST: The package must meet the Packaging Guidelines. [+] MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines. BSD 3 Clause without advertising [+] 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. [+] 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. a8bbb3de67480cfd2e3c4d7ad553a11d /home/petersen/tmp/haskell-src-exts-0.4.8.tar.gz [+] MUST: The package must successfully compile and build into binary rpms on at least one supported architecture. [+] 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: A package must own all directories that it creates. [+] MUST: A package must not contain any duplicate files in the %files listing. [+] MUST: Permissions on files must be set properly. [+] MUST: Each package must have a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT). [+] MUST: Each package must consistently use macros, as described in the macros section of Packaging Guidelines. [+] MUST: The package must contain code, or permissable content. This is described in detail in the code vs. content section of Packaging Guidelines. [+] MUST: Large documentation files should 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. [waived for haskell] MUST: Static libraries must be in a -static package. [+] MUST: Packages must NOT contain any .la libtool archives, these should be removed in the spec. [+] 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: All filenames in rpm packages must be valid UTF-8. SHOULD Items: [+] SHOULD: The reviewer should test that the package builds in mock. [+] SHOULD: The reviewer should test that the package functions as described. [+] SHOULD: If scriptlets are used, those scriptlets must be sane. Package is APPROVED for inclusion in Fedora, but consider/take care of the above point/question. Thank you for your patience.
New Package CVS Request ======================= Package Name: ghc-haskell-src-exts Short Description: Library for Manipulating Haskell source Owners: konradm Branches: F-10 InitialCC: haskell-sig
cvs done.
I think the package needs to be updated now for i586 (ie to the latest cabal2spec).
Ok, I updated it and started building it in Koji. If it succeeds I'll close this bug.
Ok, it built: http://koji.fedoraproject.org/koji/taskinfo?taskID=1250436 Closing.
Package Change Request ====================== Package Name: ghc-haskell-src-exts New Branches: el6 Owners: petersen InitialCC: haskell-sig
Git done (by process-git-requests).
ghc-haskell-src-exts-1.13.3-2.el6, cpphs-1.14-3.el6 has been pushed to the Fedora EPEL 6 stable repository.