Bug 2517884 - Review Request: rust-cargo-util-terminal - Cargo's terminal rendering
Summary: Review Request: rust-cargo-util-terminal - Cargo's terminal rendering
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/cargo-util-t...
Whiteboard:
Depends On: 2517878 2517883
Blocks: 2366645
TreeView+ depends on / blocked
 
Reported: 2026-08-18 13:10 UTC by Fabio Valentini
Modified: 2026-08-20 13:02 UTC (History)
2 users (show)

Fixed In Version: rust-cargo-util-terminal-0.1.0-1.fc46
Clone Of:
Environment:
Last Closed: 2026-08-20 13:02:23 UTC
Type: ---
Embargoed:
code: fedora-review+


Attachments (Terms of Use)

Description Fabio Valentini 2026-08-18 13:10:41 UTC
Spec URL: https://decathorpe.fedorapeople.org/rust-cargo-util-terminal.spec
SRPM URL: https://decathorpe.fedorapeople.org/rust-cargo-util-terminal-0.1.0-1.fc44.src.rpm
Upstream URL: https://crates.io/crates/cargo-util-terminal

Description:
Cargo's terminal rendering.

Fedora Account System Username: decathorpe

Comment 1 Ben Beasley 2026-08-20 08:25:55 UTC
This package is indeed trivial. I found no issues, and the package is APPROVED.

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

The spec file is 100% rust2rpm boilerplate with no manual changes.


Issues:
=======
- Package does not contain duplicates in %files.
  Note: warning: File listed twice: /usr/share/cargo/registry/cargo-util-
  terminal-0.1.0/LICENSE-APACHE
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/#_duplicate_files

  OK: not a serious problem; due to reasonable rust2rpm design decisions.


===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "*No copyright* Apache License 2.0",
     "*No copyright* MIT License". 9 files have unknown license. Detailed
     output of licensecheck in /home/ben/fedora/review/2517884-rust-cargo-
     util-terminal/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[-]: If the package is under multiple licenses, the licensing breakdown
     must be documented in the spec.
[x]: %build honors applicable compiler flags or justifies otherwise.
[x]: Package contains no bundled libraries or specifies bundled libraries
     with Provides: bundled(<libname>) if unbundling is not possible.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[x]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: No rpmlint messages.
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in rust-
     cargo-util-terminal-devel , rust-cargo-util-terminal+default-devel
[?]: Package functions as described.

     The package at least compiles, so it is probably fine. The tests are
     properly built and executed, but there are zero usable tests in the crate.
     Any issues will hopefully show up in cargo itself.

[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.

     The only patch is rust2rpm’s automatic patch.

[x]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[?]: Package should compile and build into binary rpms on all supported
     architectures.

     Not tested since dependencies aren’t in Rawhide yet, and I didn’t want to
     take the time to use COPR or local emulation. This crate doesn’t do any of
     the things that are high-risk for endianness bugs (binary file/wire format
     implementation, math on packed arrays) or for differences in memory models
     (implementation of lock-free data structures or low-level concurrency
     primitives with unsafe code), so it’s probably fine.

[x]: %check is present and all tests pass.

     The tests are properly built and executed, but there are zero usable tests
     in the crate.

[x]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: rust-cargo-util-terminal-devel-0.1.0-1.fc46.noarch.rpm
          rust-cargo-util-terminal+default-devel-0.1.0-1.fc46.noarch.rpm
          rust-cargo-util-terminal-0.1.0-1.fc46.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
    /usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmps6ct0kuj')]
checks: 32, packages: 3

 3 packages and 0 specfiles checked; 0 errors, 0 warnings, 13 filtered, 0 badness; has taken 0.1 s 




Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.10.0
configuration:
    /usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
checks: 33, packages: 2

 2 packages and 0 specfiles checked; 0 errors, 0 warnings, 9 filtered, 0 badness; has taken 0.0 s 



Source checksums
----------------
https://crates.io/api/v1/crates/cargo-util-terminal/0.1.0/download#/cargo-util-terminal-0.1.0.crate :
  CHECKSUM(SHA256) this package     : 5baff8199ae90b871b3383da1b2bfd1a9f003f0b043c9278550d220a66c99a5b
  CHECKSUM(SHA256) upstream package : 5baff8199ae90b871b3383da1b2bfd1a9f003f0b043c9278550d220a66c99a5b


Requires
--------
rust-cargo-util-terminal-devel (rpmlib, GLIBC filtered):
    (crate(annotate-snippets/default) >= 0.12.15 with crate(annotate-snippets/default) < 0.13.0~)
    (crate(annotate-snippets/simd) >= 0.12.15 with crate(annotate-snippets/simd) < 0.13.0~)
    (crate(anstream/default) >= 1.0.0 with crate(anstream/default) < 2.0.0~)
    (crate(anstyle-hyperlink/default) >= 1.0.2 with crate(anstyle-hyperlink/default) < 2.0.0~)
    (crate(anstyle-hyperlink/file) >= 1.0.2 with crate(anstyle-hyperlink/file) < 2.0.0~)
    (crate(anstyle-progress/default) >= 0.1.0 with crate(anstyle-progress/default) < 0.2.0~)
    (crate(anstyle/default) >= 1.0.14 with crate(anstyle/default) < 2.0.0~)
    (crate(anyhow/default) >= 1.0.102 with crate(anyhow/default) < 2.0.0~)
    (crate(libc/default) >= 0.2.184 with crate(libc/default) < 0.3.0~)
    (crate(serde/default) >= 1.0.228 with crate(serde/default) < 2.0.0~)
    (crate(serde/derive) >= 1.0.228 with crate(serde/derive) < 2.0.0~)
    (crate(serde_json/default) >= 1.0.149 with crate(serde_json/default) < 2.0.0~)
    (crate(serde_json/raw_value) >= 1.0.149 with crate(serde_json/raw_value) < 2.0.0~)
    (crate(supports-hyperlinks/default) >= 3.2.0 with crate(supports-hyperlinks/default) < 4.0.0~)
    (crate(supports-unicode/default) >= 3.0.0 with crate(supports-unicode/default) < 4.0.0~)
    cargo
    rust

rust-cargo-util-terminal+default-devel (rpmlib, GLIBC filtered):
    cargo
    crate(cargo-util-terminal)



Provides
--------
rust-cargo-util-terminal-devel:
    crate(cargo-util-terminal)
    purl(pkg:cargo/cargo-util-terminal.0)
    rust-cargo-util-terminal-devel

rust-cargo-util-terminal+default-devel:
    crate(cargo-util-terminal/default)
    rust-cargo-util-terminal+default-devel



Generated by fedora-review 0.11.0 (05c5b26) last change: 2025-11-29
Command line :/usr/bin/fedora-review -L cargo-util-terminal-deps -b 2517884
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, C/C++, R, fonts, Perl, Haskell, SugarActivity, PHP, Python, Ocaml
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH

Built with local dependencies:
    /home/ben/fedora/review/cargo-util-terminal-deps/rust-anstyle-hyperlink+default-devel-1.0.2-1.fc46.noarch.rpm
    /home/ben/fedora/review/cargo-util-terminal-deps/rust-anstyle-hyperlink-devel-1.0.2-1.fc46.noarch.rpm
    /home/ben/fedora/review/cargo-util-terminal-deps/rust-anstyle-hyperlink+file-devel-1.0.2-1.fc46.noarch.rpm
    /home/ben/fedora/review/cargo-util-terminal-deps/rust-anstyle-hyperlink+std-devel-1.0.2-1.fc46.noarch.rpm
    /home/ben/fedora/review/cargo-util-terminal-deps/rust-anstyle-progress+default-devel-0.1.4-1.fc46.noarch.rpm
    /home/ben/fedora/review/cargo-util-terminal-deps/rust-anstyle-progress-devel-0.1.4-1.fc46.noarch.rpm
    /home/ben/fedora/review/cargo-util-terminal-deps/rust-anstyle-progress+std-devel-0.1.4-1.fc46.noarch.rpm

Comment 2 Fabio Valentini 2026-08-20 09:42:36 UTC
Thank you for the review!

Comment 3 Fedora Admin user for bugzilla script actions 2026-08-20 09:43:06 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-cargo-util-terminal
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 4 Fabio Valentini 2026-08-20 13:02:23 UTC
Imported and built:
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ce471fc0d3


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