Bug 2253721 - Review Request: rust-crypto-auditing-event-broker - Event broker for crypto-auditing project
Summary: Review Request: rust-crypto-auditing-event-broker - Event broker for crypto-a...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Fabio Valentini
QA Contact: Fedora Extras Quality Assurance
URL: https://crates.io/crates/crypto-audit...
Whiteboard:
Depends On: 2253714
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-09 00:47 UTC by Daiki Ueno
Modified: 2023-12-15 02:12 UTC (History)
2 users (show)

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


Attachments (Terms of Use)
The .spec file difference from Copr build 6735798 to 6751001 (1.24 KB, patch)
2023-12-14 00:37 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 6751001 to 6757426 (1.36 KB, patch)
2023-12-14 16:26 UTC, Fedora Review Service
no flags Details | Diff

Comment 1 Fedora Review Service 2023-12-09 00:50:13 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6735798
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2253721-rust-crypto-auditing-event-broker/fedora-rawhide-x86_64/06735798-rust-crypto-auditing-event-broker/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 Fedora Review Service 2023-12-14 00:37:44 UTC
Created attachment 2004213 [details]
The .spec file difference from Copr build 6735798 to 6751001

Comment 4 Fedora Review Service 2023-12-14 00:37:47 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6751001
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2253721-rust-crypto-auditing-event-broker/fedora-rawhide-x86_64/06751001-rust-crypto-auditing-event-broker/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 5 Fabio Valentini 2023-12-14 16:00:32 UTC
> Requires:       crypto-auditing-agent

This is not attached to any package, since there is no binary package named "rust-crypto-auditing-event-broker" being built.
Move this under the "crypto-auditing-event-broker" subpackage for it to have the intended effect.

> License:        GPL-3.0-or-later AND (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (BSD-3-Clause) AND ISC AND MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)

There are three occurrences of "(MIT OR Apache-2.0)" here, please drop all but one of them (where "(MIT OR Apache-2.0)" and "(Apache-2.0 OR MIT)" are equivalent).

> %config(noreplace) %{_sysconfdir}/crypto-auditing/event-broker.conf

This leaves the directory at "%{_sysconfdir}/crypto-auditing/" unowned, add this to fix it:

%dir %{_sysconfdir}/crypto-auditing/

Other than those three minor issues, looks good to me.

Comment 6 Daiki Ueno 2023-12-14 16:12:56 UTC
Thank you for the review. The issues should be addressed in the new spec.

Spec URL: https://ueno.fedorapeople.org/rust-crypto-auditing-event-broker/rust-crypto-auditing-event-broker.spec
SRPM URL: https://ueno.fedorapeople.org/rust-crypto-auditing-event-broker/rust-crypto-auditing-event-broker-0.2.1-1.fc40.src.rpm

[fedora-review-service-build]

Comment 7 Fedora Review Service 2023-12-14 16:26:23 UTC
Created attachment 2004301 [details]
The .spec file difference from Copr build 6751001 to 6757426

Comment 8 Fedora Review Service 2023-12-14 16:26:25 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/6757426
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2253721-rust-crypto-auditing-event-broker/fedora-rawhide-x86_64/06757426-rust-crypto-auditing-event-broker/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 9 Fabio Valentini 2023-12-14 16:36:37 UTC
Looks good to me now, thank you!

===

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
- latest version of the crate is packaged
- license matches upstream specification (GPL-3.0-or-later) 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)

Comment 10 Fedora Admin user for bugzilla script actions 2023-12-14 23:03:14 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-crypto-auditing-event-broker

Comment 11 Daiki Ueno 2023-12-15 02:12:02 UTC
Thank you for the review! The package has been imported and built in rawhide:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-d93cd098ee


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