Bug 1797367

Summary: Review Request: perl-File-LoadLines - Loads the contents of a text file into an array of lines
Product: [Fedora] Fedora Reporter: Johan Vromans <jvromans>
Component: Package ReviewAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review, ppisar
Target Milestone: ---Flags: ppisar: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: perl-File-LoadLines-0.02-4.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-22 14:38:10 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:    
Bug Blocks: 1797362    

Description Johan Vromans 2020-02-02 21:43:08 UTC
Spec URL: https://www.chordpro.org/fedora/perl-File-LoadLines.spec
SRPM URL: https://www.chordpro.org/fedora/perl-File-LoadLines-0.02-1.fc29.src.rpm

Description:

This perl module provides an easy way to read the contents of a text file into an array, handling line endings and file encodings.

This package is required by chordpro, see https://bugzilla.redhat.com/show_bug.cgi?id=1797362.

Fedora Account System Username: sciurius

Comment 3 Petr Pisar 2020-02-28 08:38:20 UTC
Source0 and Url addresses are usable. Ok.
Source0 archive (SHA-256: ab0c1c31cf7b694dd3c9a0707098f7483763d46b60799a7f496ea0588be46b7b) is original. Ok.
Summary is Ok.
Description verified from README. Ok.

FIX: Add a fullstop character at the end of the description text.

License verified from README, and lib/File/LoadLines.pm. Ok.
No XS code, noarch BuildArch is Ok.

FIX: Build-require 'perl(Exporter)' (lib/File/LoadLines.pm:7).
FIX: Build-require 'perl(utf8)' (t/10-basic.t:8).

All tests pass. Ok.

$ rpmlint perl-File-LoadLines.spec ../SRPMS/perl-File-LoadLines-0.02-3.fc33.src.rpm ../RPMS/noarch/perl-File-LoadLines-0.02-3.fc33.noarch.rpm 
sh: /usr/bin/python2: No such file or directory
2 packages and 1 specfiles checked; 0 errors, 0 warnings.
rpmlint is Ok.

$ rpm -q -lv -p ../RPMS/noarch/perl-File-LoadLines-0.02-3.fc33.noarch.rpm 
drwxr-xr-x    2 root     root                        0 Feb 28 09:11 /usr/share/doc/perl-File-LoadLines
-rw-r--r--    1 root     root                      152 Oct 29  2018 /usr/share/doc/perl-File-LoadLines/Changes
-rw-r--r--    1 root     root                      807 Oct 26  2018 /usr/share/doc/perl-File-LoadLines/README
-rw-r--r--    1 root     root                     2298 Feb 28 09:11 /usr/share/man/man3/File::LoadLines.3pm.gz
drwxr-xr-x    2 root     root                        0 Feb 28 09:11 /usr/share/perl5/vendor_perl/File
-rw-r--r--    1 root     root                     5240 Oct 29  2018 /usr/share/perl5/vendor_perl/File/LoadLines.pm
A file layout and the permissions are Ok.

$ rpm -q --requires -p ../RPMS/noarch/perl-File-LoadLines-0.02-3.fc33.noarch.rpm | sort -f | uniq -c
      1 perl(:MODULE_COMPAT_5.30.1)
      1 perl(:VERSION) >= 5.10.1
      1 perl(base)
      1 perl(Encode)
      1 perl(Exporter)
      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(PayloadIsZstd) <= 5.4.18-1
Binary requires are Ok.

$ rpm -q --provides -p ../RPMS/noarch/perl-File-LoadLines-0.02-3.fc33.noarch.rpm | sort -f | uniq -c
      1 perl(File::LoadLines) = 0.02
      1 perl-File-LoadLines = 0.02-3.fc33
Binary provides are Ok.

$ resolvedeps rawhide ../RPMS/noarch/perl-File-LoadLines-0.02-3.fc33.noarch.rpm 
Binary dependencies are resolvable. Ok.

The package builds in Fedora 33 (https://koji.fedoraproject.org/koji/taskinfo?taskID=41979480). Ok.

Otherwise the package is in line with Fedora and Perl packaging guidelines.
Please correct the 'FIX' items before building this package.
Resolution: Package APPROVED.

Comment 4 Gwyn Ciesla 2020-02-28 14:54:56 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/perl-File-LoadLines