Bug 1702634 - Review Request: perl-Dir-Manifest - Load texts or blobs from a directory of files
Summary: Review Request: perl-Dir-Manifest - Load texts or blobs from a directory of f...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-24 10:06 UTC by Shlomi Fish
Modified: 2019-07-03 07:29 UTC (History)
3 users (show)

Fixed In Version: perl-Dir-Manifest-0.0.3-1.fc31
Clone Of:
Environment:
Last Closed: 2019-07-03 07:29:15 UTC
Type: ---
Embargoed:
ppisar: fedora-review+


Attachments (Terms of Use)

Description Shlomi Fish 2019-04-24 10:06:07 UTC
Spec URL: https://www.shlomifish.org/Files/files/code/perl-Dir-Manifest.spec
SRPM URL: https://www.shlomifish.org/Files/files/arcs/perl-Dir-Manifest-0.0.3-1.fc31.src.rpm
Description: A buildreq of http://madb.mageia.org/package/show/application/0/name/black-hole-solver which in turn can be used by the new KDE kpat (see https://phabricator.kde.org/D18566 ).
Fedora Account System Username: shlomif

Comment 1 Petr Pisar 2019-04-24 15:25:05 UTC
Url and Source0 addresses are usable. Ok.

TODO: Please use canonical source path as is listed on MetaCPAN under the Download link: <https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{upstream_name}-%{version}.tar.gz>. Because a same-named distribution can be uploaded by multiple people to CPAN, it's important to have an author's name in the URL.

Source0 archive (SHA-256: 1d91f0712c863b9655bba077844ac0bc1ec199663013a46fb7b060255a351d49) is original. Ok.

FIX: Remove Group tag. It's obsolete in Fedora.

Summary is Ok.
Description verified from lib/Dir/Manifest.pm. OK.
License verified from lib/Dir/Manifest/Slurp.pm, lib/Dir/Manifest/Key.pm, lib/Dir/Manifest.pm, Build.PL, LICENSE, and README. Ok.

TODO: The '>= 0.280.0' version constraint at perl(Module::Build) won't do what you want because Fedora still does not normalize the module versions. The same applies to perl(Test::More) more dependency. You can remove them or format in a fractional notation.

TODO: You can build-require 'perl(:VERSION) >= 5.14.0' (META.json:47). (This one is normalized.)

TODO: You can use plain 'perl' command instead of %{__perl} macro.

Otherwise build-requires are Ok.
All tests pass. Ok.

$ rpmlint perl-Dir-Manifest.spec ../SRPMS/perl-Dir-Manifest-0.0.3-1.fc31.src.rpm ../RPMS/noarch/perl-Dir-Manifest-0.0.3-1.fc31.noarch.rpm 
/usr/share/rpmlint/Pkg.py:168: UnicodeWarning: decode() called on unicode string, see https://bugzilla.redhat.com/show_bug.cgi?id=1693751
  s.decode('UTF-8')
perl-Dir-Manifest.src: W: spelling-error %description -l en_US filenames -> file names, file-names, filaments
perl-Dir-Manifest.src: W: spelling-error %description -l en_US txt -> text, ext, tit
perl-Dir-Manifest.src: W: spelling-error %description -l en_US lf -> fl, lg, l
/usr/share/rpmlint/Pkg.py:168: UnicodeWarning: decode() called on unicode string, see https://bugzilla.redhat.com/show_bug.cgi?id=1693751
  s.decode('UTF-8')
perl-Dir-Manifest.noarch: W: spelling-error %description -l en_US filenames -> file names, file-names, filaments
perl-Dir-Manifest.noarch: W: spelling-error %description -l en_US txt -> text, ext, tit
perl-Dir-Manifest.noarch: W: spelling-error %description -l en_US lf -> fl, lg, l
2 packages and 1 specfiles checked; 0 errors, 6 warnings.
rpmlint is Ok.

$ rpm -q --requires -p ../RPMS/noarch/perl-Dir-Manifest-0.0.3-1.fc31.noarch.rpm | sort -f | uniq -c
      1 perl(:MODULE_COMPAT_5.28.2)
      1 perl(:VERSION) >= 5.14.0
      1 perl(Dir::Manifest::Key)
      1 perl(Dir::Manifest::Slurp)
      1 perl(Exporter)
      1 perl(Moo)
      1 perl(parent)
      1 perl(Path::Tiny)
      1 perl(Socket)
      1 perl(strict)
      1 perl(warnings)
      1 rpmlib(CompressedFileNames) <= 3.0.4-1
      1 rpmlib(FileDigests) <= 4.6.0-1
      1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      1 rpmlib(PayloadIsXz) <= 5.2-1
Binary requires are Ok.

$ rpm -q --provides -p ../RPMS/noarch/perl-Dir-Manifest-0.0.3-1.fc31.noarch.rpm | sort -f | uniq -c
      1 perl(Dir::Manifest) = 0.0.3
      1 perl(Dir::Manifest::Key) = 0.0.3
      1 perl(Dir::Manifest::Slurp) = 0.0.3
      1 perl-Dir-Manifest = 0.0.3-1.fc31
Binary provides are Ok.

Package builds in F31 (https://koji.fedoraproject.org/koji/taskinfo?taskID=34388641). Ok.

Otherwise the package is in line with Fedora and Perl packaging guidelines.

Please correct the 'FIX' item and consider fixing 'TODO' items before building this package.
Resolution: Package APPROVED.

Comment 2 Gwyn Ciesla 2019-04-24 16:16:47 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/perl-Dir-Manifest


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