Bug 2590195 - Review Request: perl-TOML - Parser for Tom's Obvious, Minimal Language
Summary: Review Request: perl-TOML - Parser for Tom's Obvious, Minimal Language
Keywords:
Status: RELEASE_PENDING
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL: https://metacpan.org/dist/TOML
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 14:01 UTC by Michal Josef Spacek
Modified: 2026-12-04 13:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
jplesnik: fedora-review+


Attachments (Terms of Use)

Description Michal Josef Spacek 2026-12-03 14:01:45 UTC
Spec URL: https://skim.cz/tmp/perl-TOML/perl-TOML.spec
SRPM URL: https://skim.cz/tmp/perl-TOML/perl-TOML-0.97-1.fc46.src.rpm
Description: 
TOML implements a parser for Tom's Obvious, Minimal Language, as defined at
https://github.com/mojombo/toml. TOML exports two subroutines, from_toml
and to_toml,
Fedora Account System Username: mspacek

Comment 1 Fedora Review Service 2026-12-03 14:10:55 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/11427362
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2590195-perl-toml/fedora-rawhide-x86_64/11427362-perl-TOML/fedora-review/review.txt

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

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Jitka Plesnikova 2026-12-04 12:56:59 UTC
Source file is ok
Summary is ok
Description is ok
URL and Source0 are ok
All tests passed

License
FIX: The License tag is wrong. Upstream states GPL version 2 only (META.json:
     "gpl_2"; lib/TOML.pm POD: "published by the Free Software Foundation;
     version 2."; LICENSE is the GPL version 2 text). Please use:
     License: GPL-2.0-only
     (GPL-1.0-or-later is the Perl-module default and does not match here.)

BuildRequires
FIX: Add missing test BuildRequires, t/to_toml.t uses 'use utf8':
     BuildRequires:  perl(utf8)

$ rpm -qp --requires perl-TOML-0.97-1.fc46.noarch.rpm | sort | uniq -c | grep -v rpmlib
      1 perl(B)
      1 perl(Carp)
      1 perl(Exporter) >= 5.57
      1 perl-libs
      1 perl(strict)
      1 perl(TOML::Parser) >= 0.04
      1 perl(:VERSION) >= 5.8.5
      1 perl(warnings)
Binary requires are Ok.

$ rpm -qp --provides perl-TOML-0.97-1.fc46.noarch.rpm | sort | uniq -c
      1 perl(TOML) = 0.97
      1 perl-TOML = 0.97-1.fc46
Binary provides are Ok.

$ rpmlint ./perl-TOML*
perl-TOML.noarch: E: incorrect-fsf-address /usr/share/licenses/perl-TOML/LICENSE
 2 packages and 1 specfiles checked; 1 errors, 0 warnings, 8 filtered, 1 badness
The incorrect-fsf-address is in the upstream LICENSE file. Please consider
reporting it to upstream; it cannot be fixed in the spec file.

TODO: Explicitly name packaged files in %{perl_vendorlib} directory
      %{perl_vendorlib}/TOML.pm instead of %{perl_vendorlib}/*
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_lists.

Otherwise the package is in line with Fedora and Perl packaging guide lines.
Please correct all 'FIX' items, consider fixing 'TODO' items.

Resolution:
Approved

Comment 3 Fedora Admin user for bugzilla script actions 2026-12-04 13:26:14 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/perl-TOML
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 4 Michal Josef Spacek 2026-12-04 13:36:27 UTC
The issue with bad FSF address reported to upstream: https://github.com/karupanerura/toml/issues/8


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