[Bug 1797365] Review Request: perl-App-Packager - Abstract interface to a number of common packagers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1797365



--- Comment #1 from Petr Pisar <ppisar@xxxxxxxxxx> ---
The standalone spec file is newer. I will use that for this review.

Url and Source0 addresses are usable. Ok.
Source0 archive (SHA-256:
57f4d014458387f9e2ed2dfd8615d1e2545b8a6504b10af22486578d8be374a3) is original.
Ok.
Summary is Ok.
Description verified from README. Ok.
License verified from lib/App/Packager.pm. Ok.
No XS code, noarch BuildArch is Ok.

TODO: Use plain 'perl' in instead of a '%{__perl}' macro in 'Requires:
perl(:MODULE_COMPAT_'.
FIX: Change 'perl(ExtUtils::MakeMaker)' version constrain to '>= 6.76' That
version is needed for NO_PACKLIST=1 and NO_PERLLOCAL=1 Makefile.PL arguments.
FIX: BuildRequire 'perl(Exporter)' (lib/App/Packager.pm:9).

All tests pass. Ok.

$ rpmlint perl-App-Packager.spec
../SRPMS/perl-App-Packager-1.430.1-2.fc33.src.rpm
../RPMS/noarch/perl-App-Packager-1.430.1-2.fc33.noarch.rpm 
sh: /usr/bin/python2: No such file or directory
perl-App-Packager.src: W: spelling-error %description -l en_US behaviour ->
behavior
perl-App-Packager.src: W: spelling-error %description -l en_US unpackaged ->
unpack aged, unpack-aged, packaged
perl-App-Packager.noarch: W: spelling-error %description -l en_US behaviour ->
behavior
perl-App-Packager.noarch: W: spelling-error %description -l en_US unpackaged ->
unpack aged, unpack-aged, packaged
2 packages and 1 specfiles checked; 0 errors, 4 warnings.
FIX: Spell 'behaviour' as 'behavior' in the description.

$ rpm -q -lv -p ../RPMS/noarch/perl-App-Packager-1.430.1-2.fc33.noarch.rpm 
drwxr-xr-x    2 root     root                        0 Feb 26 15:33
/usr/share/doc/perl-App-Packager
-rw-r--r--    1 root     root                      319 Jul  5  2018
/usr/share/doc/perl-App-Packager/Changes
-rw-r--r--    1 root     root                      584 Jul  5  2018
/usr/share/doc/perl-App-Packager/README
-rw-r--r--    1 root     root                     2275 Feb 26 15:33
/usr/share/man/man3/App::Packager.3pm.gz
drwxr-xr-x    2 root     root                        0 Feb 26 15:33
/usr/share/perl5/vendor_perl/App
-rw-r--r--    1 root     root                     6247 Jul  5  2018
/usr/share/perl5/vendor_perl/App/Packager.pm
File permissions and layout are Ok.

$ rpm -q --requires -p
../RPMS/noarch/perl-App-Packager-1.430.1-2.fc33.noarch.rpm | sort -f | uniq -c
      1 perl(:MODULE_COMPAT_5.30.1)
      1 perl(:VERSION) >= 5.10.1
      1 perl(Carp)
      1 perl(Exporter)
      1 perl(parent)
      1 perl(strict)
      1 perl(warnings)
      1 perl-generators
      1 perl-interpreter
      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
FIX: Do not run-require 'perl' and 'perl-generators'. They are not used at
run-time.
FIX: Run-require 'perl(PAR)' (lib/App/Packager.pm:22). Or at least Recommend it
as it is the only packager Fedora contains and it dies without it:

PAR_0=1 perl -Ilib -e 'use App::Packager'
Can't locate PAR.pm in @INC (you may need to install the PAR module) (@INC
contains: lib /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5) at lib/App/Packager.pm line 22.
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

$ rpm -q --provides -p
../RPMS/noarch/perl-App-Packager-1.430.1-2.fc33.noarch.rpm | sort -f | uniq -c
      1 perl(App::Packager) = 1.430
      1 perl-App-Packager = 1.430.1-2.fc33
Binary provides are Ok.

$ resolvedeps rawhide
../RPMS/noarch/perl-App-Packager-1.430.1-2.fc33.noarch.rpm 
Binary dependencies are resolvable. Ok.

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

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

Please correct the 'FIX' items, consider fixing the 'TODO' items and provide a
new spec file.
Resolution: Package NOT approved.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux