Bug 2259760 - Review Request: rust-oxipng - Lossless PNG compression optimizer
Summary: Review Request: rust-oxipng - Lossless PNG compression optimizer
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/oxipng
Whiteboard:
Depends On: 2259758
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-23 00:47 UTC by Ben Beasley
Modified: 2024-02-26 01:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-02-17 12:26:52 UTC
Type: Bug
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Ben Beasley 2024-01-23 00:47:19 UTC
Spec URL: https://music.fedorapeople.org/rust-oxipng.spec
SRPM URL: https://music.fedorapeople.org/rust-oxipng-9.0.0-1.fc39.src.rpm

Description:

A lossless PNG compression optimizer.

Fedora Account System Username: music

PR to be merged after unretirement:
https://src.fedoraproject.org/rpms/rust-oxipng/pull-request/1

Knowing this is sometimes a problem, I will check the changelog of the unretired package and make sure it is not broken.

COPR build (with fedora-review enabled):
https://copr.fedorainfracloud.org/coprs/music/oxipng/build/6942075/

Comment 1 Fedora Review Service 2024-01-23 00:49:35 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6942084
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2259760-rust-oxipng/fedora-rawhide-x86_64/06942084-rust-oxipng/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
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 Fabio Valentini 2024-02-16 18:37:25 UTC
Package was generated with rust2rpm, simplifying the review.

- package builds and installs without errors on rawhide
- test suite is run and all unit tests pass (there are no tests)
- latest version of the crate is packaged
- license matches upstream specification and is acceptable for Fedora
- licenses of statically linked dependencies are correctly taken into account
- license file is included with %license in %files
- package complies with Rust Packaging Guidelines

Package APPROVED.

===

Recommended post-import rust-sig tasks:

- set up package on release-monitoring.org:
  project: $crate
  homepage: https://crates.io/crates/$crate
  backend: crates.io
  version scheme: semantic
  version filter: alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

- add @rust-sig with "commit" access as package co-maintainer
  (should happen automatically)

- set bugzilla assignee overrides to @rust-sig (optional)

- track package in koschei for all built branches
  (should happen automatically once rust-sig is co-maintainer)

===

Note that the package includes a few files that should not be installed into the rust-oxipng-devel package:

- /scripts/
- /Dockerfile
- /index.html

In particular, the files in the "scripts" folder cause the package to have a generated dependency on /usr/bin/bash.

Please exclude these two files and the "scripts" folder in some way from the -devel package.
Option 1: Patching Cargo.toml to update the "exclude" list, or Option 2: Using the %exclude directive in the %files list.
If you go with Option 1, that patch might be acceptable by upstream too. They already exclude benchmark and test sources, so they probably don't want to ship other development-only files either.

Comment 3 Ben Beasley 2024-02-16 19:52:52 UTC
Thank you for the review!

Regarding the extra files, I will go with Option 1 and offer the patch upstream.

Comment 4 Ben Beasley 2024-02-16 19:57:13 UTC
https://pagure.io/releng/issue/11960

Comment 5 Ben Beasley 2024-02-16 20:21:05 UTC
https://github.com/shssoichiro/oxipng/pull/591

Comment 6 Fedora Update System 2024-02-17 12:26:23 UTC
FEDORA-2024-c959cf9e20 (rust-oxipng-9.0.0-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c959cf9e20

Comment 7 Fedora Update System 2024-02-17 12:26:52 UTC
FEDORA-2024-c959cf9e20 (rust-oxipng-9.0.0-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2024-02-17 13:01:44 UTC
FEDORA-2024-29e349ef66 (rust-oxipng-9.0.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-29e349ef66

Comment 9 Fedora Update System 2024-02-17 13:02:52 UTC
FEDORA-2024-29e349ef66 (rust-oxipng-9.0.0-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-02-17 13:13:46 UTC
FEDORA-2024-7fbc47eb79 (rust-oxipng-9.0.0-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7fbc47eb79

Comment 11 Fedora Update System 2024-02-17 13:43:04 UTC
FEDORA-2024-28c5dc0c42 (rust-oxipng-9.0.0-1.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-28c5dc0c42

Comment 12 Fedora Update System 2024-02-18 01:49:06 UTC
FEDORA-2024-7fbc47eb79 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7fbc47eb79 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7fbc47eb79

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2024-02-18 02:32:44 UTC
FEDORA-2024-28c5dc0c42 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-28c5dc0c42 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-28c5dc0c42

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2024-02-26 00:47:04 UTC
FEDORA-2024-28c5dc0c42 (rust-oxipng-9.0.0-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2024-02-26 01:12:19 UTC
FEDORA-2024-7fbc47eb79 (rust-oxipng-9.0.0-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


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