Bug 593851
Summary: | Review Request: clide - Color and style highlighting program for text | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Fearn <richardfearn> |
Component: | Package Review | Assignee: | Martin Gieseking <martin.gieseking> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | fedora-package-review, martin.gieseking, notting, pahan |
Target Milestone: | --- | Flags: | martin.gieseking:
fedora-review+
kevin: fedora-cvs+ |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | clide-0.9-3.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-13 07:26:41 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: |
Description
Richard Fearn
2010-05-19 20:31:41 UTC
Hi Richard, here are a couple of quick comments: - according to COPYING and the script header, the license seems to be GPLv3+, not GPLv2+ - drop LICENSE from %doc and ask upstream to remove it from the tarball, as it refers to GPLv2 - add a short comment above Patch0 telling what the patch does - prefix the patch name with clide-, e.g. clide-makefile.patch - The manpage should not be compressed by the installer because rpm does it automatically. Thus, remove the gzip line from the Makefile - replace %{_mandir}/man1/clide.1.gz with %{_mandir}/man1/clide.1* Martin - thanks for the feedback. All good suggestions. Regarding the licence, however - I have contacted Mark, the author of clide, to get clarification on the licence. I have assumed for now that it's GPLv2+. Here's a new version which takes into account all of Martin's suggestions from comment 1: Spec URL: http://richardfearn.fedorapeople.org/clide/0.9-2/clide.spec SRPM URL: http://richardfearn.fedorapeople.org/clide/0.9-2/clide-0.9-2.fc13.src.rpm Upstream confirmed that clide is GPLv3+. The spec file, source RPM and binary RPM are all free of rpmlint warnings and errors. I also spotted an error with the Makefile patch: it was removing the doc file installation from the wrong Makefile target ("install", which isn't invoked, instead of "rpminstall"). Richard, the package looks almost fine to me. I suggest to explicitly assign values to BINDIR and MANDIR in "make rpminstall", e.g. make BINDIR=%{buildroot}%{_bindir} \ MANDIR=%{buildroot}%{_mandir}/man1 \ rpminstall to ensure the files will be installed in the proper (rpm-defined) directories. > Richard, the package looks almost fine to me. I suggest to explicitly assign > values to BINDIR and MANDIR in "make rpminstall", e.g. > make BINDIR=%{buildroot}%{_bindir} \ > MANDIR=%{buildroot}%{_mandir}/man1 \ > rpminstall > to ensure the files will be installed in the proper (rpm-defined) directories. Good suggestion - given that the "rpminstall" target only uses BINDIR/MANDIR*, it certainly makes things clearer. * I remove the doc file install (which uses DOCDIR) in clide-Makefile.patch. New spec/SRPM: http://richardfearn.fedorapeople.org/clide/0.9-3/clide.spec http://richardfearn.fedorapeople.org/clide/0.9-3/clide-0.9-3.fc13.src.rpm Thanks! Hi Richard, here's the formal review of clide. The package looks fine now, so we can finish here. $ rpmlint /var/lib/mock/fedora-13-x86_64/result/*.rpm 2 packages and 0 specfiles checked; 0 errors, 0 warnings. --------------------------------- keys used in following checklist: [+] OK [.] OK, not applicable [X] needs work --------------------------------- [+] 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. - GPLv3+ [+] MUST: The License field in the package spec file must match the actual license. [+] MUST: The file containing the text of the license(s) 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. $ md5sum clide-0.9.tar.gz* f578b8c5f1b7f81c7280fcb549ca93c8 clide-0.9.tar.gz f578b8c5f1b7f81c7280fcb549ca93c8 clide-0.9.tar.gz.1 [+] MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture. - noarch package builds fine [.] MUST: If the package does not successfully compile, ... [+] MUST: All build dependencies must be listed in BuildRequires. [.] MUST: The spec file MUST handle locales properly. - no locales [.] MUST: Packages storing shared library files (not just symlinks) must call ldconfig in %post and %postun. [+] MUST: Packages must NOT bundle copies of system libraries. [.] MUST: If the package is designed to be relocatable, ... [+] MUST: A package must own all directories that it creates. [+] MUST: A Fedora package must not list a file more than once in %files. [+] 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. [+] MUST: Files in %doc must not affect the runtime of the application. [.] MUST: Header files must be in a -devel package. [.] MUST: Static libraries must be in a -static package. [.] MUST: If a package contains library files with a suffix ... [.] MUST: devel packages must require the base package ... [+] MUST: Packages must NOT contain any .la libtool archives [.] MUST: Packages containing GUI applications must include a %{name}.desktop file - no GUI [+] 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}. [+] MUST: All filenames in rpm packages must be valid UTF-8. [.] SHOULD: If the source package does not include license text(s) ... [+] SHOULD: The reviewer should test that the package builds in mock. - builds in mock [+] SHOULD: The package should compile and build into binary rpms on all supported architectures. - noarch package [+] SHOULD: The reviewer should test that the package functions as described. - seems to work as expected [.] SHOULD: If scriptlets are used, those scriptlets must be sane. [.] SHOULD: Usually, subpackages other than devel should require the base package using a fully versioned dependency. [.] SHOULD: pkgconfig(.pc) files should be placed in a -devel pkg. [+] SHOULD: your package should contain man pages for binaries/scripts. ---------------- Package APPROVED ---------------- Thanks Martin! New Package CVS Request ======================= Package Name: clide Short Description: Color and style highlighting program for text Owners: richardfearn Branches: F-12 F-13 InitialCC: CVS done (by process-cvs-requests.py). clide-0.9-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/clide-0.9-3.fc12 clide-0.9-3.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/clide-0.9-3.fc13 clide-0.9-3.fc12 has been pushed to the Fedora 12 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 clide'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/clide-0.9-3.fc12 clide-0.9-3.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 clide'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/clide-0.9-3.fc13 clide-0.9-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. clide-0.9-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. Package Change Request ====================== Package Name: clide New Branches: EL-5 EL-6 Owners: richardfearn CVS done (by process-cvs-requests.py). clide-0.9-3.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/clide-0.9-3.el5 clide-0.9-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |