https://bugzilla.redhat.com/show_bug.cgi?id=2158742
Bug ID: 2158742 Summary: Review Request: perl-Feature-Compat-Try - Make try/catch syntax available Product: Fedora Version: rawhide Hardware: All OS: Linux Status: NEW Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: manisandro@gmail.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://smani.fedorapeople.org/review/perl-Feature-Compat-Try.spec SRPM URL: https://smani.fedorapeople.org/review/perl-Feature-Compat-Try-0.05-1.fc38.sr... Description: Make try/catch syntax available Fedora Account System Username: smani
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
--- Comment #1 from Jakub Kadlčík jkadlcik@redhat.com --- Copr build: https://copr.fedorainfracloud.org/coprs/build/5204504 (succeeded)
Review template: https://download.copr.fedorainfracloud.org/results/frostyx/fedora-review-215...
Please take a look if any issues were found.
--- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value Flags| |fedora-review? Assignee|nobody@fedoraproject.org |ppisar@redhat.com CC| |ppisar@redhat.com Status|NEW |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
--- Comment #2 from Petr Pisar ppisar@redhat.com --- TODO: Change URL to https://metacpan.org/dist/Feature-Compat-Try which pertains the whole CPAN distribution. The one in the spec file is a documentation for a particular module. Source archive is original (SHA-512: bf2c87bc29509e902ea4e27a22162efc58e93452a06483a19e17b70ee6db3e2407494209708dc84f2ef9080a91c374870de100cc42038683a4ae7891b07ab683). Ok. Summary verified from lib/Feature/Compat/Try.pm. Ok. Description verified from lib/Feature/Compat/Try.pm. Ok.
'GPL-1.0-or-later OR Artistic-1.0-Perl' license found in: lib/Feature/Compat/Try.pm, LICENSE, Build.PL. FIX: Correct a License RPM tag to 'GPL-1.0-or-later OR Artistic-1.0-Perl'. 'Perl' is not a recognized identifier https://docs.fedoraproject.org/en-US/legal/license-field/#_perl_packages.
No XS code, noarch BuildArch is Ok.
FIX: Build-require 'coreutils' (perl-Feature-Compat-Try.spec:42). FIX: Build-require 'perl(:VERSION) >= 5.14' (lib/Feature/Compat/Try.pm:8). TODO: Constrain 'perl(Syntax::Keyword::Try)' dependency with '>= 0.27' (Build.PL:10). TODO: Constrain 'perl(Test::More)' dependency with '>= 0.88' (Build.PL:29). TODO: Constrain 'perl(Future::AsyncAwait)' dependency with '>= 0.10' (t/80await+try.t:12).
Test::Pod is optional (t/99pod.t:8). Ok.
TODO: List files under %{perl_vendorlib} directory explicitly. Globing all files (*) is not recommended (perl-Feature-Compat-Try.spec:52) https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_lists.
All tests pass. Ok.
$ rpmlint perl-Feature-Compat-Try.spec ../SRPMS/perl-Feature-Compat-Try-0.05-1.fc38.src.rpm ../RPMS/noarch/perl-Feature-Compat-Try-0.05-1.fc38.noarch.rpm ======================================== rpmlint session starts ======================================= rpmlint: 2.4.0 configuration: /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 31, packages: 3
perl-Feature-Compat-Try.noarch: W: invalid-license Perl perl-Feature-Compat-Try.src: W: invalid-license Perl ========= 2 packages and 1 specfiles checked; 0 errors, 2 warnings, 0 badness; has taken 0.4 s ======== FIX: Correct the license value.
$ rpm -q -lv -p ../RPMS/noarch/perl-Feature-Compat-Try-0.05-1.fc38.noarch.rpm drwxr-xr-x 2 root root 0 Jan 6 01:00 /usr/share/doc/perl-Feature-Compat-Try -rw-r--r-- 1 root root 934 Feb 20 2022 /usr/share/doc/perl-Feature-Compat-Try/Changes -rw-r--r-- 1 root root 6499 Feb 20 2022 /usr/share/doc/perl-Feature-Compat-Try/README drwxr-xr-x 2 root root 0 Jan 6 01:00 /usr/share/licenses/perl-Feature-Compat-Try -rw-r--r-- 1 root root 18413 Feb 20 2022 /usr/share/licenses/perl-Feature-Compat-Try/LICENSE -rw-r--r-- 1 root root 3566 Jan 6 01:00 /usr/share/man/man3/Feature::Compat::Try.3pm.gz drwxr-xr-x 2 root root 0 Jan 6 01:00 /usr/share/perl5/vendor_perl/Feature drwxr-xr-x 2 root root 0 Jan 6 01:00 /usr/share/perl5/vendor_perl/Feature/Compat -rw-r--r-- 1 root root 6984 Jan 6 01:00 /usr/share/perl5/vendor_perl/Feature/Compat/Try.pm File layout and permissions are Ok.
$ rpm -q --requires -p ../RPMS/noarch/perl-Feature-Compat-Try-0.05-1.fc38.noarch.rpm | sort -f | uniq -c 1 perl(:MODULE_COMPAT_5.36.0) 1 perl(:VERSION) >= 5.14.0 1 perl(constant) 1 perl(feature) 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 TODO: Syntax::Keyword::Try is only used with perls < 5.35.8 (lib/Feature/Compat/Try.pm:13). That's available since Fedora 37. If you want to support older Fedoras or EPELs, please conditionally run-require 'perl(Syntax::Keyword::Try) >= 0.27' on those distributions.
$ rpm -q --provides -p ../RPMS/noarch/perl-Feature-Compat-Try-0.05-1.fc38.noarch.rpm | sort -f | uniq -c 1 perl(Feature::Compat::Try) = 0.05 1 perl-Feature-Compat-Try = 0.05-1.fc38 Binary provides are Ok.
$ resolvedeps rawhide ../RPMS/noarch/perl-Feature-Compat-Try-0.05-1.fc38.noarch.rpm Binary dependencies are resolvable. Ok.
The package builds in Fedora 38 (https://koji.fedoraproject.org/koji/taskinfo?taskID=95805716). Ok.
Otherwise, the package is in line with Fedora and Perl packaging guidelines. Please correct 'FIX' items, consider fixing 'TODO' items, and provide a new spec file. Resolution: Package NOT approved.
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
--- Comment #3 from Sandro Mani manisandro@gmail.com --- Spec URL: https://smani.fedorapeople.org/review/perl-Feature-Compat-Try.spec SRPM URL: https://smani.fedorapeople.org/review/perl-Feature-Compat-Try-0.05-1.fc38.sr...
%changelog * Fri Jan 06 2023 Sandro Mani manisandro@gmail.com - 0.05-2 - Fix license - Fix source URL - List files explicitly - Fix requires/BRs
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
--- Comment #4 from Jakub Kadlčík jkadlcik@redhat.com --- Created attachment 1936236 --> https://bugzilla.redhat.com/attachment.cgi?id=1936236&action=edit The .spec file difference from Copr build 5204504 to 5204856
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
--- Comment #5 from Jakub Kadlčík jkadlcik@redhat.com --- Copr build: https://copr.fedorainfracloud.org/coprs/build/5204856 (succeeded)
Review template: https://download.copr.fedorainfracloud.org/results/frostyx/fedora-review-215...
Please take a look if any issues were found.
--- This comment was created by the fedora-review-service https://github.com/FrostyX/fedora-review-service
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|fedora-review? |fedora-review+
--- Comment #6 from Petr Pisar ppisar@redhat.com --- All requested changes were implemented. Ok. All tests pass. Ok.
FIX: Release tag value and Changelog release value do not match. Please increase the Release number.
$ rpmlint perl-Feature-Compat-Try.spec ../SRPMS/perl-Feature-Compat-Try-0.05-1.fc38.src.rpm ../RPMS/noarch/perl-Feature-Compat-Try-0.05-1.fc38.noarch.rpm ======================================== rpmlint session starts ======================================= rpmlint: 2.4.0 configuration: /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 31, packages: 3
perl-Feature-Compat-Try.noarch: W: incoherent-version-in-changelog 0.05-2 ['0.05-1.fc38', '0.05-1'] ========= 2 packages and 1 specfiles checked; 0 errors, 1 warnings, 0 badness; has taken 0.6 s ======== FIX: Update the Release value.
The package builds in F38 (https://koji.fedoraproject.org/koji/taskinfo?taskID=95911560). Ok.
Please correct the FIX item before building this package. Resolution: Package APPROVED.
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
--- Comment #7 from Gwyn Ciesla gwync@protonmail.com --- (fedscm-admin): The Pagure repository was created at https://src.fedoraproject.org/rpms/perl-Feature-Compat-Try
https://bugzilla.redhat.com/show_bug.cgi?id=2158742
Sandro Mani manisandro@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE Last Closed| |2023-01-09 14:38:09
--- Comment #8 from Sandro Mani manisandro@gmail.com --- Thanks for the review!
package-review@lists.fedoraproject.org