Bug 742742 (perl-strictures) - Review Request: perl-strictures - Turn on strict and make all warnings fatal
Summary: Review Request: perl-strictures - Turn on strict and make all warnings fatal
Keywords:
Status: CLOSED ERRATA
Alias: perl-strictures
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mario Blättermann
QA Contact: Fedora Extras Quality Assurance
URL: http://search.cpan.org/dist/strictures/
Whiteboard:
Depends On:
Blocks: perl-Moo
TreeView+ depends on / blocked
 
Reported: 2011-10-02 10:52 UTC by Iain Arnell
Modified: 2011-10-13 00:49 UTC (History)
3 users (show)

Fixed In Version: perl-strictures-1.002002-2.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-11 03:18:26 UTC
Type: ---
Embargoed:
mario.blaettermann: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Iain Arnell 2011-10-02 10:52:43 UTC
Spec URL: http://fedorapeople.org/~iarnell/review/perl-strictures.spec
SRPM URL: http://fedorapeople.org/~iarnell/review/perl-strictures-1.002002-1.fc17.src.rpm

Description:
I've been writing the equivalent of this module at the top of my code for
about a year now. I figured it was time to make it shorter.

*rt-0.10_01

Comment 1 Iain Arnell 2011-10-02 10:53:48 UTC
Scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3396668

Comment 2 Iain Arnell 2011-10-02 11:03:10 UTC
Oops. That description wasn't very good. How about

Description:
This package turns on strict and makes all warnings fatal.



Spec URL: http://fedorapeople.org/~iarnell/review/perl-strictures.spec
SRPM URL: http://fedorapeople.org/~iarnell/review/perl-strictures-1.002002-2.fc15.src.rpm

Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3396692

Comment 3 Mario Blättermann 2011-10-02 17:12:53 UTC
$ rpmlint -i -v *perl-strictures.src: I: checking
perl-strictures.src: I: checking-url http://search.cpan.org/dist/strictures/ (timeout 10 seconds)
perl-strictures.src: I: checking-url http://www.cpan.org/authors/id/M/MS/MSTROUT/strictures-1.002002.tar.gz (timeout 10 seconds)
perl-strictures.noarch: I: checking
perl-strictures.noarch: I: checking-url http://search.cpan.org/dist/strictures/ (timeout 10 seconds)
perl-strictures.spec: I: checking-url http://www.cpan.org/authors/id/M/MS/MSTROUT/strictures-1.002002.tar.gz (timeout 10 seconds)
2 packages and 1 specfiles checked; 0 errors, 0 warnings.

No issues.

---------------------------------
key:

[+] 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.
    GPL+ or Artistic
[+] MUST: The License field in the package spec file must match the actual
license.
[.] MUST: The 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.
    $ md5sum *
    adf0840ec52cab21545a4903bdc2ee58  strictures-1.002002.tar.gz
    adf0840ec52cab21545a4903bdc2ee58  strictures-1.002002.tar.gz.packaged

[+] MUST: The package MUST successfully compile and build into binary rpms on
at least one primary architecture.
    - Succesful Koji build available.
[.] MUST: If the package does not successfully compile, build or work on an
architecture, ...
[+] MUST: All build dependencies must be listed in BuildRequires.
[.] MUST: The spec file MUST handle locales properly.
[.] MUST: If a package installs files below %{_datadir}/icons, the icon cache
must be updated.
[.] 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: Packages must not provide RPM dependency information when that
information is not global in nature, or are otherwise handled.
[.] MUST: When filtering automatically generated RPM dependency information,
the filtering system implemented by Fedora must be used.
[+] 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 (e.g.
libfoo.so.1.1), ...
[.] MUST: devel packages must require the base package using a fully versioned
dependency.
[.] MUST: Packages must NOT contain any .la libtool archives.
[.] MUST: Packages containing GUI applications must include a %{name}.desktop
file
[.] MUST: .desktop files must be properly installed with desktop-file-install
in the %install section.
[+] MUST: Packages must not own files or directories already owned by other
packages.
[+] MUST: All filenames in rpm packages must be valid UTF-8.

[.] SHOULD: If the source package does not include license text(s) as a
    separate file from upstream, the packager SHOULD query upstream...
[+] SHOULD: Timestamps of files should be preserved.
[+] SHOULD: The reviewer should test that the package builds in mock.
    See Koji build above (which uses mock anyway)
[+] SHOULD: The reviewer should test that the package functions as described.
    I assume the packager has tested it. Don't know how to test it on my
system.
[+] 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: If the package has file dependencies outside of /etc, /bin, /sbin,
/usr/bin, or /usr/sbin ...
[+] SHOULD: Your package should contain man pages for binaries/scripts.


----------------

PACKAGE APPROVED

----------------

Comment 4 Iain Arnell 2011-10-03 03:11:25 UTC
New Package SCM Request
=======================
Package Name: perl-strictures
Short Description: Turn on strict and make all warnings fatal
Owners: iarnell
Branches: f15 f16
InitialCC: perl-sig

Comment 5 Gwyn Ciesla 2011-10-03 12:31:18 UTC
Git done (by process-git-requests).

Comment 6 Fedora Update System 2011-10-03 15:03:36 UTC
perl-strictures-1.002002-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/perl-strictures-1.002002-2.fc16

Comment 7 Fedora Update System 2011-10-03 15:03:50 UTC
perl-strictures-1.002002-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/perl-strictures-1.002002-2.fc15

Comment 8 Fedora Update System 2011-10-03 17:44:07 UTC
perl-strictures-1.002002-2.fc16 has been pushed to the Fedora 16 testing repository.

Comment 9 Fedora Update System 2011-10-11 03:18:26 UTC
perl-strictures-1.002002-2.fc16 has been pushed to the Fedora 16 stable repository.

Comment 10 Fedora Update System 2011-10-13 00:49:22 UTC
perl-strictures-1.002002-2.fc15 has been pushed to the Fedora 15 stable repository.


Note You need to log in before you can comment on or make changes to this bug.