Bug 736801
Summary: | Review Request: pure-gen - A Pure C bindings generator | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michel Lind <michel> |
Component: | Package Review | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | notting, package-review |
Target Milestone: | --- | Flags: | petersen:
fedora-review+
gwync: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | pure-gen-0.15-1.fc16 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-02-14 09:08: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: | 530688 | ||
Bug Blocks: |
Description
Michel Lind
2011-09-08 18:18:22 UTC
I think you can BR ghc-language-c-devel instead of prof and also need to BR llvm to get this to build. pure-gen.src: W: invalid-url Source0: http://pure-lang.googlecode.com/files/pure-gen-0.12.tar.gz HTTP Error 404: Not Found I am afraid that is probably normal for googlecode. BTW it seems 0.13 was released a few days ago and seems to include all the patches. :) All fixed; thanks! http://salimma.fedorapeople.org/specs/funpl/pure-gen-0.13-1.fc15.src.rpm Thanks - I will wait for ghc-language-c to be imported and built before continuing this review. It's built now. Which Fedora release are you testing on? I can add it to the Build Overrides for the distribution release you need (f15 or f16). Rawhide is fine for me. :) I will try to get to this tomorrow hopefully. Sorry for the long wait. Here is the review: +:ok, !: needs attention, NA: not applicable MUST Items: [+] MUST: rpmlint output [1] pure-gen.src: W: invalid-url Source0: http://pure-lang.googlecode.com/files/pure-gen-0.13.tar.gz HTTP Error 404: Not Found I believe this is normal for googlecode. [+] MUST: package named according to Package Naming Guidelines [+] MUST: spec file name must match base package %{name} [2] [+] MUST: meet Packaging Guidelines [+] MUST: Fedora approved license and Licensing Guidelines BSD 3 clause [+] MUST: License field in the package spec file must match actual license. [3] [+] MUST: include license files in %doc if available in source [4] [+] MUST: The spec file must be written in American English [5] and be legible. [6] [+] MUST: source md5sum matches upstream release (from upstream URL) 19e036fd835afda0580e1fc1c4068723 Downloads/pure-gen-0.13.tar.gz [+] MUST: successfully compile and build into binary rpms on a primary arch [7] http://koji.fedoraproject.org/koji/taskinfo?taskID=3433148 [!] MUST: if necessary use ExcludeArch for other archs [8] You could use "ExclusiveArch: %{ghc_arches}". [+] MUST: All build dependencies must be listed in BuildRequires [NA] MUST: use %find_lang macro for .po translations [9] [NA] MUST: packages which store shared library files in the dynamic linker's default paths, must call ldconfig in %post and %postun. [10] [+] MUST: Packages must NOT bundle copies of system libraries. [11] [NA] MUST: If the package is designed to be relocatable, the packager must state this fact in the request for review [12] [+] MUST: A package must own all directories that it creates. [13] [+] MUST: A package must not contain any duplicate files in the %files listing. [14] [+] MUST: Permissions on files must be set properly. [15] [+] MUST: consistently use macros [16] [+] MUST: The package must contain code, or permissable content. [17] [NA] MUST: Large documentation files should go in a doc subpackage. [18] [+] MUST: If a package includes something as %doc, it must not affect the runtime of the application. [18] [NA] MUST: Header files must be in a -devel package. [19] [NA] MUST: Static libraries must be in a -static package. [20] [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. [19] [NA] MUST: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency [21] [NA] MUST: Packages must NOT contain any .la libtool archives, these should be removed in the spec. [20] [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. [22] [+] MUST: Packages must not own files or directories already owned by other packages. [23] [+] MUST: All filenames in rpm packages must be valid UTF-8. [24] SHOULD Items: [+] SHOULD: If scriptlets are used, those scriptlets must be sane. [29] [+] SHOULD: your package should contain man pages for binaries/scripts. Package is APPROVED. Some suggestions: - You could patch the makefile to use ghc -dynamic linking for dump-ast on primary archs, to save a lot of space and some time too. - Better to remove the commented out lines on the .spec file. - "rm -rf $RPM_BUILD_ROOT" is deprecated and can be removed (except for EPEL-5). Ping? :) Michel, I assume you still want this in Fedora? :) If you don't have time then I may import and build it by next week so we don't lose this effort here... Ping, Michel - if you still want this could you put in SCM request? Ping again oops, apologies. New Package SCM Request ======================= Package Name: pure-gen Short Description: A Pure C bindings generator Owners: salimma Branches: f15 f16 el6 InitialCC: Git done (by process-git-requests). pure-gen-0.15-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/pure-gen-0.15-1.fc15 pure-gen-0.15-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/pure-gen-0.15-1.fc16 pure-gen-0.15-1.fc16 has been pushed to the Fedora 16 testing repository. pure-gen-0.15-1.fc15 has been pushed to the Fedora 15 stable repository. pure-gen-0.15-1.fc16 has been pushed to the Fedora 16 stable repository. |