Bug 2590195

Summary: Review Request: perl-TOML - Parser for Tom's Obvious, Minimal Language
Product: [Fedora] Fedora Reporter: Michal Josef Spacek <mspacek>
Component: Package ReviewAssignee: Jitka Plesnikova <jplesnik>
Status: RELEASE_PENDING --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jplesnik, package-review
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---Flags: jplesnik: fedora-review+
Hardware: All   
OS: Linux   
URL: https://metacpan.org/dist/TOML
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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