Bug 2346427
| Summary: | Review Request: perl-X-Tiny - Base class for a bare-bones exception factory | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Adams <linux> | ||||
| Component: | Package Review | Assignee: | Michal Josef Spacek <mspacek> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | mspacek, package-review | ||||
| Target Milestone: | --- | Keywords: | AutomationTriaged | ||||
| Target Release: | --- | Flags: | mspacek:
fedora-review+
|
||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| URL: | https://metacpan.org/dist/X-Tiny | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | --- | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-05-01 02:06:20 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: | 2346429 | ||||||
| Attachments: |
|
||||||
|
Description
Chris Adams
2025-02-19 00:02:43 UTC
@linux Hi Chris,
There is one more provides: "perl(DB)"
You need to add:
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(DB\\)$
FYI: I created a PR to upstream for removing Test::Simple dependency: https://github.com/FGasper/p5-X-Tiny/pull/3 Oh, nice catch on the provides, thanks. Updated: Spec URL: https://fedorapeople.org/~cmadams/perl-X-Tiny/perl-X-Tiny.spec SRPM URL: https://fedorapeople.org/~cmadams/perl-X-Tiny/perl-X-Tiny-0.22-2.fc41.src.rpm Copr build: https://copr.fedorainfracloud.org/coprs/build/8853698 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2346427-perl-x-tiny/fedora-rawhide-x86_64/08853698-perl-X-Tiny/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. @linux I found that you need to add BuildRequires for coreutils. This is used by %{_fixperms}.
FYI: I created patch for cpanspec (https://github.com/michal-josef-spacek/cpanspec/commit/327eb8b16ac1cae6acd1e23cbf2e8797faf33706)
And you need to add sed to BuildRequires (by your sed -i '/Test::Simple/d' Makefile.PL)
I'll change the sed to perl (should have done that to start).
The idea to require coreutils seems like it could be a little over-requires... how %{_fixperms} is implemented is pretty opaque (and rpm itself already requires coreutils). Checking the current perl SRPMs, there are a whole lot that use %{_fixperms} but don't BuildRequire coreutils. The %{_fixperms} macro could change, or call a tool not in coreutils, and there'd be a lot of extra BuildRequires.
I'll add it (I also see a lot of perl SRPMs that do BuildRequire it, about half), but I'm wondering if maybe that shouldn't be the norm; just expect that the package that provides the macro also BuildRequires anything needed to implement the macro.
Spec URL: https://fedorapeople.org/~cmadams/perl-X-Tiny/perl-X-Tiny.spec
SRPM URL: https://fedorapeople.org/~cmadams/perl-X-Tiny/perl-X-Tiny-0.22-3.fc41.src.rpm
Created attachment 2083353 [details]
The .spec file difference from Copr build 8853698 to 8859436
Copr build: https://copr.fedorainfracloud.org/coprs/build/8859436 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2346427-perl-x-tiny/fedora-rawhide-x86_64/08859436-perl-X-Tiny/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. Source file is ok
Summary is ok
License is ok
Description is ok
URL and Source0 are ok
All tests passed
BuildRequires are ok
$ rpm -qp --requires perl-X-Tiny-0.22-3.fc43.noarch.rpm | sort | uniq -c | grep -v rpmlib
1 perl(constant)
1 perl-libs
1 perl(Module::Runtime)
1 perl(strict)
1 perl(warnings)
There is missing perl(overload) for run time. Probably not detected by perl-generator
$ rpm -qp --provides perl-X-Tiny-0.22-3.fc43.noarch.rpm | sort | uniq -c
1 perl(X::Tiny::Base)
1 perl(X::Tiny) = 0.22
1 perl-X-Tiny = 0.22-3.fc43
Binary provides are Ok.
$ rpmlint ./perl-X-Tiny*
3 packages and 1 specfiles checked; 1 errors, 0 warnings, 12 filtered, 1 badness; has taken 0.7 s
There is funny rpm lint issue: incorrect-fsf-address /usr/share/licenses/perl-X-Tiny/LICENSE
I don't know what about it.
In case of coreutils, you are right. Delivering of macro should be dependency to coreutils, ideally.
Ok, there is information (https://docs.fedoraproject.org/en-US/package-maintainers/CommonRpmlintIssues/#incorrect-fsf-address) about incorrect-fsf-address. I will report. Ahh yeah, the overload module is used via an eval, probably why it's missed. Added a manual Requires:. I also saw the rpmlint bit about the address, didn't think I should go editing somebody else's license, so I left it alone. If I get some time, I'll try to summarize the bit about %{_fixperms} and coreutils and ask fedora-devel's opinion (since the perl packages appear to be split about half and half).
Spec URL: https://fedorapeople.org/~cmadams/perl-X-Tiny/perl-X-Tiny.spec
SRPM URL: https://fedorapeople.org/~cmadams/perl-X-Tiny/perl-X-Tiny-0.22-4.fc41.src.rpm
There seems to be some problem with the following file. SRPM URL: https://fedorapeople.org/~cmadams/perl-X-Tiny/perl-X-Tiny-0.22-4.fc41.src.rpm Fetching it results in a 404 Not Found error. Please make sure the URL is correct and publicly available. --- 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. Source file is ok
Summary is ok
License is ok
Description is ok
URL and Source0 are ok
All tests passed
BuildRequires are ok
$ rpm -qp --requires perl-X-Tiny-0.22-4.fc43.noarch.rpm | sort | uniq -c | grep -v rpmlib
1 perl(constant)
1 perl-libs
1 perl(Module::Runtime)
1 perl(overload)
1 perl(strict)
1 perl(warnings)
Binary requires are Ok.
$ rpm -qp --provides perl-X-Tiny-0.22-4.fc43.noarch.rpm | sort | uniq -c
1 perl(X::Tiny::Base)
1 perl(X::Tiny) = 0.22
1 perl-X-Tiny = 0.22-4.fc43
Binary provides are Ok.
rpmlint:
perl-X-Tiny.noarch: E: incorrect-fsf-address /usr/share/licenses/perl-X-Tiny/LICENSE
reported, ok
The package is in line with Fedora and Perl packaging guide lines.
The Pagure repository was created at https://src.fedoraproject.org/rpms/perl-X-Tiny FEDORA-2025-6a17ddff5e (perl-X-Tiny-0.22-4.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-6a17ddff5e FEDORA-2025-4a3629324e (perl-X-Tiny-0.22-4.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-4a3629324e FEDORA-2025-4a3629324e has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4a3629324e \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4a3629324e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-6a17ddff5e has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-6a17ddff5e \*` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6a17ddff5e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-4a3629324e (perl-X-Tiny-0.22-4.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2025-6a17ddff5e (perl-X-Tiny-0.22-4.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |