Bug 2555992 - Review Request: rust-agirru-derive - #[derive(Merge)] / #[derive(Delta)] for agirru-crdt aggregate state structs
Summary: Review Request: rust-agirru-derive - #[derive(Merge)] / #[derive(Delta)] for ...
Keywords:
Status: CLOSED NEXTRELEASE
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:
Whiteboard:
Depends On:
Blocks: 2555998
TreeView+ depends on / blocked
 
Reported: 2026-10-20 05:21 UTC by Alexander Bokovoy
Modified: 2026-11-03 05:10 UTC (History)
2 users (show)

Fixed In Version: rust-agirru-derive-0.2.0-1.fc46
Clone Of:
Environment:
Last Closed: 2026-11-03 05:10:34 UTC
Type: ---
Embargoed:
code: fedora-review+


Attachments (Terms of Use)

Comment 1 Alexander Bokovoy 2026-10-20 06:09:39 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/abbra/rust-deps/fedora-rawhide-x86_64/11175349-rust-agirru-derive/rust-agirru-derive.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/abbra/rust-deps/srpm-builds/11175349/rust-agirru-derive-0.1.2-1.fc45.src.rpm
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=151480727

Fixed %description: the crates.io description starts with '#[derive(...)]', which RPM treated as a comment line, leaving only 'structs.'. Summary and description are now set in rust2rpm.toml.

Comment 2 Ben Beasley 2026-10-26 06:47:32 UTC
The package is APPROVED, but please see the commentary under “Notes” on the spec file included in the crate.

===

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

- 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)

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

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

The spec file is produced by rust2rpm, simplifying the review. The summary and
description texts have been correctly and appropriately improved.

Issues:
=======
- Package does not contain duplicates in %files.
  Note: warning: File listed twice: /usr/share/cargo/registry/agirru-
  derive-0.1.2/CHANGELOG.md
  See: https://docs.fedoraproject.org/en-US/packaging-
  guidelines/#_duplicate_files

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

Notes:
======

- The crate contains an RPM spec file. This is unusal and not useful. At worst,
  it could be misleading, because it is unlikely to be the same spec file that
  the Fedora package was built with. Consider at least excluding it from the
  binary RPMs, like this in rust2rpm.toml:

  exclude-crate-files = [ 
    "rust-agirru-derive.spec",
  ]

  Also, make sure that you are aware of
  https://docs.fedoraproject.org/en-US/packaging-guidelines/#_spec_maintenance_and_canonicity.

===== 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",
     "MIT License", "*No copyright* MIT License". 9 files have unknown
     license. Detailed output of licensecheck in
     /home/ben/fedora/review/2555992-rust-agirru-derive/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: There are rpmlint messages (see attachment).
[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-
     agirru-derive-devel , rust-agirru-derive+default-devel
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: Package should compile and build into binary rpms on all supported
     architectures.

     https://koji.fedoraproject.org/koji/taskinfo?taskID=151682158

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

     Tests are correctly compiled and executed, but there turn out not to be
     any tests we can use in the current release.

[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: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: rust-agirru-derive-devel-0.1.2-1.fc46.noarch.rpm
          rust-agirru-derive+default-devel-0.1.2-1.fc46.noarch.rpm
          rust-agirru-derive-0.1.2-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/tmpj2ue1l5v')]
checks: 32, packages: 3

rust-agirru-derive+default-devel.noarch: E: spelling-error ('crdt', 'Summary(en_US) crdt -> credit')
rust-agirru-derive+default-devel.noarch: E: spelling-error ('structs', 'Summary(en_US) structs -> struts, destructs, instructs')
rust-agirru-derive+default-devel.noarch: E: spelling-error ('crdt', '%description -l en_US crdt -> credit')
rust-agirru-derive+default-devel.noarch: E: spelling-error ('structs', '%description -l en_US structs -> struts, destructs, instructs')
rust-agirru-derive.src: E: spelling-error ('crdt', 'Summary(en_US) crdt -> credit')
rust-agirru-derive.src: E: spelling-error ('structs', 'Summary(en_US) structs -> struts, destructs, instructs')
rust-agirru-derive.src: E: spelling-error ('crdt', '%description -l en_US crdt -> credit')
rust-agirru-derive.src: E: spelling-error ('structs', '%description -l en_US structs -> struts, destructs, instructs')
rust-agirru-derive-devel.noarch: E: spelling-error ('crdt', 'Summary(en_US) crdt -> credit')
rust-agirru-derive-devel.noarch: E: spelling-error ('structs', 'Summary(en_US) structs -> struts, destructs, instructs')
rust-agirru-derive-devel.noarch: E: spelling-error ('crdt', '%description -l en_US crdt -> credit')
rust-agirru-derive-devel.noarch: E: spelling-error ('structs', '%description -l en_US structs -> struts, destructs, instructs')
 3 packages and 0 specfiles checked; 12 errors, 0 warnings, 13 filtered, 12 badness; has taken 0.6 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

rust-agirru-derive+default-devel.noarch: W: spelling-error ('crdt', 'Summary(en_US) crdt -> credit')
rust-agirru-derive+default-devel.noarch: W: spelling-error ('structs', 'Summary(en_US) structs -> struts, destructs, instructs')
rust-agirru-derive+default-devel.noarch: W: spelling-error ('crdt', '%description -l en_US crdt -> credit')
rust-agirru-derive+default-devel.noarch: W: spelling-error ('structs', '%description -l en_US structs -> struts, destructs, instructs')
rust-agirru-derive-devel.noarch: W: spelling-error ('crdt', 'Summary(en_US) crdt -> credit')
rust-agirru-derive-devel.noarch: W: spelling-error ('structs', 'Summary(en_US) structs -> struts, destructs, instructs')
rust-agirru-derive-devel.noarch: W: spelling-error ('crdt', '%description -l en_US crdt -> credit')
rust-agirru-derive-devel.noarch: W: spelling-error ('structs', '%description -l en_US structs -> struts, destructs, instructs')
 2 packages and 0 specfiles checked; 0 errors, 8 warnings, 9 filtered, 0 badness; has taken 0.1 s 



Source checksums
----------------
https://crates.io/api/v1/crates/agirru-derive/0.1.2/download#/agirru-derive-0.1.2.crate :
  CHECKSUM(SHA256) this package     : afb8ca0022c369c756cc17242e61559cc63c78eb821f5ddc05786bfcf1d0c7e8
  CHECKSUM(SHA256) upstream package : afb8ca0022c369c756cc17242e61559cc63c78eb821f5ddc05786bfcf1d0c7e8


Requires
--------
rust-agirru-derive-devel (rpmlib, GLIBC filtered):
    (crate(proc-macro2/default) >= 1.0.0 with crate(proc-macro2/default) < 2.0.0~)
    (crate(quote/default) >= 1.0.0 with crate(quote/default) < 2.0.0~)
    (crate(syn/default) >= 2.0.0 with crate(syn/default) < 3.0.0~)
    (crate(syn/full) >= 2.0.0 with crate(syn/full) < 3.0.0~)
    cargo

rust-agirru-derive+default-devel (rpmlib, GLIBC filtered):
    cargo
    crate(agirru-derive)



Provides
--------
rust-agirru-derive-devel:
    crate(agirru-derive)
    purl(pkg:cargo/agirru-derive.2)
    rust-agirru-derive-devel

rust-agirru-derive+default-devel:
    crate(agirru-derive/default)
    rust-agirru-derive+default-devel



Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -b 2555992
Buildroot used: fedora-rawhide-aarch64
Active plugins: Generic, Shell-api
Disabled plugins: Python, fonts, Haskell, Perl, Java, PHP, SugarActivity, Ocaml, R, C/C++
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT

Comment 3 Fedora Admin user for bugzilla script actions 2026-10-26 18:17:20 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-agirru-derive
Monitoring:
Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org`

Comment 4 Alexander Bokovoy 2026-11-03 05:10:34 UTC
rust-agirru-derive-0.2.0-1.fc46 is built in Koji from Rawhide and shipped as https://bodhi.fedoraproject.org/updates/FEDORA-2026-4d81cb4100. Closing the review.

The reviewer's note (excluding the in-crate spec and rust2rpm.toml from the binary RPMs) is applied in the packaging; Fedora builds from the rust2rpm-generated spec. Note for future updates: the upstream spec/rust2rpm.toml override the crate metadata summary.


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