Spec URL: http://ppisar.fedorapeople.org/perl-Perl-Critic-Moose/perl-Perl-Critic-Moose.spec SRPM URL: http://ppisar.fedorapeople.org/perl-Perl-Critic-Moose/perl-Perl-Critic-Moose-0.999.002-1.fc17.src.rpm Description: Some Perl::Critic policies that will help you keep your code in good shape with regards to Moose.
Package Review ============== Key: - = N/A x = Pass ! = Fail ? = Not evaluated ==== Generic ==== [x]: MUST Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: MUST Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: MUST All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [x]: MUST Buildroot is not present Note: Unless packager wants to package for EPEL5 this is fine [x]: MUST Package contains no bundled libraries. [x]: MUST Changelog in prescribed format. [x]: MUST Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) Note: Clean would be needed if support for EPEL is required [x]: MUST Sources contain only permissible code or content. [x]: MUST Each %files section contains %defattr if rpm < 4.4 Note: Note: defattr macros not found. They would be needed for EPEL5 [!]: MUST Macros in Summary, %description expandable at SRPM build time. [x]: MUST Package requires other packages for directories it uses. [x]: MUST Package uses nothing in %doc for runtime. [x]: MUST Package is not known to require ExcludeArch. [x]: MUST Permissions on files are set properly. [x]: MUST Package does not contain duplicates in %files. [x]: MUST Spec file lacks Packager, Vendor, PreReq tags. [x]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. Note: rm -rf would be needed if support for EPEL5 is required [-]: 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 is included in %doc. [x]: MUST License field in the package spec file matches the actual license. [x]: MUST Package consistently uses macros (instead of hard-coded directory names). [!]: MUST Package meets the Packaging Guidelines. [x]: MUST Package is named according to the Package Naming Guidelines. [x]: MUST Package does not generates any conflict. [x]: MUST Package obeys FHS, except libexecdir and /usr/target. [x]: MUST Package must own all directories that it creates. [x]: MUST Package does not own files or directories owned by other packages. [x]: MUST Package installs properly. [!]: MUST Requires correct, justified where necessary. [x]: MUST Rpmlint output is silent. [x]: MUST Sources used to build the package match the upstream source, as provided in the spec URL. /home/contyk/src/review/783148/Perl-Critic-Moose-0.999_002.tar.gz : MD5SUM this package : 0f97e0fd5977eb67389b17080b648de0 MD5SUM upstream package : 0f97e0fd5977eb67389b17080b648de0 [x]: MUST Spec file is legible and written in American English. [x]: MUST Spec file name must match the spec package %{name}, in the format %{name}.spec. [-]: MUST Package contains a SysV-style init script if in need of one. [x]: MUST File names are valid UTF-8. [x]: SHOULD Reviewer should test that the package builds in mock. [-]: 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. [x]: SHOULD Dist tag is present. [!]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [!]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q --requires). [?]: SHOULD Package functions as described. [x]: SHOULD Package does not include license text files separate from upstream. [x]: SHOULD SourceX is a working URL. [-]: SHOULD Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [-]: SHOULD Package should compile and build into binary rpms on all supported architectures. [x]: SHOULD %check is present and all tests pass. [x]: SHOULD Packages should try to preserve timestamps of original installed files. [x]: SHOULD Spec use %global instead of %define. -- NITPICK: Perl::Critic::Violation is only used in tests; I'd move it below line 19 and remove the minimum version requirement. FIX: Remove English from BRs; it's not an independent package. TODO: Remove Readonly from Requires; it's automatically picked up by rpmbuild. FIX: Final RPM provides different module versions (0.999); I think those should be corrected to 0.999.002. Generated by fedora-review 0.1.1 External plugins:
> NITPICK: Perl::Critic::Violation is only used in tests; I'd move it below line > 19 and remove the minimum version requirement. Moved. I kept the version as this is prescribed by META.yml. > FIX: Remove English from BRs; it's not an independent package. Done. > TODO: Remove Readonly from Requires; it's automatically picked up by rpmbuild. Of course. > FIX: Final RPM provides different module versions (0.999); I think those should > be corrected to 0.999.002. Well, I don't think this is necessary because they should $VERSION numbers if possible (requires are generated in the same way), I implemented it. Updated package is on the same address.
Everything was addressed, approving.
New Package SCM Request ======================= Package Name: perl-Perl-Critic-Moose Short Description: Policies for Perl::Critic concerned with using Moose Owners: ppisar mmaslano psabata Branches: InitialCC: perl-sig
Git done (by process-git-requests).
Thank you for the review and the repository.