Bug 2443680 - Review Request: rust-icns - Library for encoding/decoding Apple Icon Image (.icns) files
Summary: Review Request: rust-icns - Library for encoding/decoding Apple Icon Image (....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/icns
Whiteboard:
Depends On: 2443679
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-03-01 19:47 UTC by Davide Cavalca
Modified: 2026-03-20 16:22 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-03-20 16:22:05 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)
The .spec file difference from Copr build 10218169 to 10224770 (1.08 KB, patch)
2026-03-14 05:35 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 10224770 to 10244918 (883 bytes, patch)
2026-03-20 00:14 UTC, Fedora Review Service
no flags Details | Diff

Description Davide Cavalca 2026-03-01 19:47:18 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/rust-icns/rust-icns.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/rust-icns/rust-icns-0.4.0-1.fc45.src.rpm
Upstream URL: https://crates.io/crates/icns

Description:
A library for encoding/decoding Apple Icon Image (.icns) files.

Fedora Account System Username: dcavalca

Comment 1 Davide Cavalca 2026-03-01 19:47:43 UTC
$ cat rust2rpm.toml 
[tests]
run = ["lib", "doc", "test:golden"]                                                                                            
skip.'test:golden' = ["encode_ic07"]                                                                                           
skip-exact.'test:golden' = true
comments.'test:golden' = ["encode_ic07 fails due to non-deterministic PNG encoding output"]

Comment 2 Fedora Review Service 2026-03-01 19:49:16 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10181350
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2443680-rust-icns/fedora-rawhide-x86_64/10181350-rust-icns/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 3 Fabio Valentini 2026-03-10 19:36:40 UTC
Package looks mostly good to me, with one caveat:

There's what looks like input data for tests under tests/icns / tests/png that looks like it's a "✓" icon from some icon theme. I'm not sure if this can be included without attribution (or license), and I don't see any mentions of where these files are from.

Comment 4 Davide Cavalca 2026-03-12 04:17:12 UTC
Filed https://github.com/mdsteele/rust-icns/issues/14 for this, I'll strip it out in %prep in the meantime.

Comment 5 Davide Cavalca 2026-03-12 04:23:08 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/rust-icns/rust-icns.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/rust-icns/rust-icns-0.4.0-1.fc45.src.rpm

Changelog:
- drop test assets of unknown provenance

Comment 6 Davide Cavalca 2026-03-12 04:23:22 UTC
$ cat rust2rpm.toml 
[package]
cargo-toml-patch-comments = [
  "Drop golden test: https://github.com/mdsteele/rust-icns/issues/14",
]

[scripts]
# https://github.com/mdsteele/rust-icns/issues/14
prep.pre = [
  "rm -r tests",
]

Comment 7 Fedora Review Service 2026-03-12 18:38:15 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10218169
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2443680-rust-icns/fedora-rawhide-x86_64/10218169-rust-icns/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 8 Davide Cavalca 2026-03-13 18:46:33 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/rust-icns/rust-icns.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/rust-icns/rust-icns-0.4.0-1.fc45.src.rpm

Changelog:
- update license tag to include test assets

Comment 9 Davide Cavalca 2026-03-13 18:46:47 UTC
$ cat rust2rpm.toml 
[package]
cargo-toml-patch-comments = [
  "Update license tag to include golden file test assets",
  "https://github.com/mdsteele/rust-icns/issues/14",
]

[tests]
run = ["lib", "doc", "test:golden"]                                                                                            
skip.'test:golden' = ["encode_ic07"]                                                                                           
skip-exact.'test:golden' = true
comments.'test:golden' = ["encode_ic07 fails due to non-deterministic PNG encoding output"]

Comment 10 Fedora Review Service 2026-03-14 05:35:30 UTC
Created attachment 2133369 [details]
The .spec file difference from Copr build 10218169 to 10224770

Comment 11 Fedora Review Service 2026-03-14 05:35:32 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10224770
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2443680-rust-icns/fedora-rawhide-x86_64/10224770-rust-icns/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 12 Fabio Valentini 2026-03-16 18:00:42 UTC
Thanks for clarifying with upstream.

According to https://openclipart.org/share they actually explicitly apply CC0-1.0 to their content, not "Public Domain". I would suggest to just document this in the spec file, and `%exclude %{crate_instdir}/tests/{icns,png}/` instead of modifying the License tag.

And you can drop the patch for the `Cargo.toml` package.license field - test data does not affect the crate license when used as a dependency.

Comment 14 Fedora Review Service 2026-03-20 00:14:16 UTC
Created attachment 2134187 [details]
The .spec file difference from Copr build 10224770 to 10244918

Comment 15 Fedora Review Service 2026-03-20 00:14:19 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/10244918
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2443680-rust-icns/fedora-rawhide-x86_64/10244918-rust-icns/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 16 Fabio Valentini 2026-03-20 11:03:25 UTC
Package was generated with rust2rpm, simplifying the review.

✅ package contains only permissible content
✅ package builds and installs without errors on rawhide
✅ test suite is run and all unit tests pass
✅ latest version of the crate is packaged
✅ license matches upstream specification and is acceptable for Fedora
✅ 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 (*NOT* pre-release filter): alpha;beta;rc;pre
  distro: Fedora
  Package: rust-$crate

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

Comment 17 Fedora Admin user for bugzilla script actions 2026-03-20 16:10:06 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-icns

Comment 18 Fedora Update System 2026-03-20 16:19:25 UTC
FEDORA-2026-8675f3cfa4 (rust-icns-0.4.0-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-8675f3cfa4

Comment 19 Fedora Update System 2026-03-20 16:22:05 UTC
FEDORA-2026-8675f3cfa4 (rust-icns-0.4.0-1.fc45) has been pushed to the Fedora 45 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.