Bug 2161558
| Summary: | Review Request: perl-Alien-Brotli - Find and install the Brotli compressor | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Salaba <psalaba> |
| Component: | Package Review | Assignee: | Michal Josef Spacek <mspacek> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | mspacek, package-review |
| Target Milestone: | --- | Flags: | mspacek:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | perl-Alien-Brotli-0.2.2-3.fc38 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-02-06 17:23:39 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: | |||
| Attachments: | |||
|
Description
Petr Salaba
2023-01-17 09:17:19 UTC
Copr build: https://copr.fedorainfracloud.org/coprs/build/5239684 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2161558-perl-Alien-Brotli/fedora-rawhide-x86_64/05239684-perl-Alien-Brotli/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 Thank you, running rpmlint has completely slipped my mind. I'll update the sources to fix the errors. Updated files: Spec URL: https://psalaba.fedorapeople.org/perl-Alien-Brotli/perl-Alien-Brotli.spec SRPM URL: https://psalaba.fedorapeople.org/perl-Alien-Brotli/perl-Alien-Brotli-0.2.2-2.fc38.src.rpm Created attachment 1938571 [details]
The .spec file difference from Copr build 5239684 to 5239720
Copr build: https://copr.fedorainfracloud.org/coprs/build/5239720 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2161558-perl-Alien-Brotli/fedora-rawhide-x86_64/05239720-perl-Alien-Brotli/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 [copr-build] For update review in COPR: Spec URL: https://psalaba.fedorapeople.org/perl-Alien-Brotli/perl-Alien-Brotli.spec SRPM URL: https://psalaba.fedorapeople.org/perl-Alien-Brotli/perl-Alien-Brotli-0.2.2-2.fc38.src.rpm Created attachment 1939097 [details]
The .spec file difference from Copr build 5239720 to 5250868
Copr build: https://copr.fedorainfracloud.org/coprs/build/5250868 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2161558-perl-Alien-Brotli/fedora-rawhide-x86_64/05250868-perl-Alien-Brotli/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 @psalaba
1) License is bad:
In LICENSE file:
The MIT (X11) License
In spec file:
License: GPL-1.0-or-later OR Artistic-1.0-Perl
2) No .rpmlintrc with warnings:
perl-Alien-Brotli-tests.noarch: W: no-documentation
3) BuildRequires: findutils, make, bc
I don't see usage of this packages.
As i understand, make, bc is used in case of compiling, but not in our case
4) spec file rpmlint:
perl-Alien-Brotli.spec:52: W: comparison-operator-in-deptoken 2>/dev/null)
perl-Alien-Brotli.spec:53: W: comparison-operator-in-deptoken 2>/dev/null)
There is brotli %(perl -e 'print qq{ = $1} if qx{brotli --version} =~ m{([\d+\.]+)}' 2>/dev/null)
Why we need this 2>/dev/null ?
If we need, then we need to add to .rpmlintrc
(In reply to Michal Josef Spacek from comment #10) > @psalaba > > 1) License is bad: > In LICENSE file: > The MIT (X11) License > In spec file: > License: GPL-1.0-or-later OR Artistic-1.0-Perl Fixed, changed license to MIT. > 2) No .rpmlintrc with warnings: > perl-Alien-Brotli-tests.noarch: W: no-documentation Created a .rpmlintrc with this warning filtered > 3) BuildRequires: findutils, make, bc > I don't see usage of this packages. > As i understand, make, bc is used in case of compiling, but not in our case Removed findutils and bc from requirements, make is still required in the rpm build process. > 4) spec file rpmlint: > perl-Alien-Brotli.spec:52: W: comparison-operator-in-deptoken 2>/dev/null) > perl-Alien-Brotli.spec:53: W: comparison-operator-in-deptoken 2>/dev/null) > > There is brotli %(perl -e 'print qq{ = $1} if qx{brotli --version} =~ > m{([\d+\.]+)}' 2>/dev/null) > Why we need this 2>/dev/null ? > If we need, then we need to add to .rpmlintrc This stderr redirection was not needed, if an error happens it should be visible in the build process stderr stream. Removed 2>/dev/null. Spec URL: https://psalaba.fedorapeople.org/perl-Alien-Brotli/perl-Alien-Brotli.spec SRPM URL: https://psalaba.fedorapeople.org/perl-Alien-Brotli/perl-Alien-Brotli-0.2.2-3.fc38.src.rpm Requested .rpmlintrc URL: https://psalaba.fedorapeople.org/perl-Alien-Brotli/perl-Alien-Brotli.rpmlintrc Created attachment 1940180 [details]
The .spec file difference from Copr build 5250868 to 5287425
Copr build: https://copr.fedorainfracloud.org/coprs/build/5287425 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2161558-perl-Alien-Brotli/fedora-rawhide-x86_64/05287425-perl-Alien-Brotli/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 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-Alien-Brotli-0.2.2-3.fc38.x86_64.rpm | sort | uniq -c | grep -v rpmlib 1 brotli = 1.0.9 1 libbrotli = 1.0.9 1 perl(Alien::Base) 1 perl(Alien::Brotli) 1 perl(base) 1 perl(constant) 1 perl-libs 1 perl(namespace::autoclean) 1 perl(Path::Tiny) 1 perl(strict) 1 perl(:VERSION) >= 5.14.0 1 perl(warnings) > rpm -qp --provides perl-Alien-Brotli-0.2.2-3.fc38.x86_64.rpm | sort | uniq -c 1 perl(Alien::Brotli::Install::Files) 1 perl-Alien-Brotli(x86-64) = 0.2.2-3.fc38 1 perl(Alien::Brotli) = 0.2.2 1 perl-Alien-Brotli = 0.2.2-3.fc38 Rpmlint is ok The package is in line with Fedora and Perl packaging guide lines. Resolution: approved The Pagure repository was created at https://src.fedoraproject.org/rpms/perl-Alien-Brotli Thank you for the review and repository. |