Bug 2296110 - Review Request: rust-rc2 - RC2 block cipher
Summary: Review Request: rust-rc2 - RC2 block cipher
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/rc2
Whiteboard:
Depends On:
Blocks: 2296139
TreeView+ depends on / blocked
 
Reported: 2024-07-06 15:55 UTC by Davide Cavalca
Modified: 2024-07-31 02:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-22 15:51:32 UTC
Type: ---
Embargoed:
decathorpe: fedora-review+


Attachments (Terms of Use)

Description Davide Cavalca 2024-07-06 15:55:23 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/rust-rc2/rust-rc2.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/rust-rc2/rust-rc2-0.8.1-1.fc41.src.rpm

Description:
RC2 block cipher.

Fedora Account System Username: dcavalca

Comment 1 Davide Cavalca 2024-07-06 15:55:26 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=120085875

Comment 2 Fabio Valentini 2024-07-06 15:59:05 UTC
Summary seems to be mangled by rust2rpm, please fix (and possibly file a bug against rust2rpm / cargo2rpm to improve the heuristics).

Comment 3 Davide Cavalca 2024-07-06 22:36:58 UTC
Filed https://pagure.io/fedora-rust/rust2rpm/issue/280 for this, will update the package shortly

Comment 5 Davide Cavalca 2024-07-06 22:38:07 UTC
$ cat rust2rpm.toml 
[package]
# https://pagure.io/fedora-rust/rust2rpm/issue/280
summary = "RC2 block cypher"

Comment 7 Davide Cavalca 2024-07-06 22:48:25 UTC
$ cat rust2rpm.toml 
[package]
# https://pagure.io/fedora-rust/rust2rpm/issue/280
summary = "RC2 block cipher"

Comment 8 Fedora Review Service 2024-07-07 21:32:28 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7715739
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2296110-rust-rc2/fedora-rawhide-x86_64/07715739-rust-rc2/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 Fedora Review Service 2024-07-07 21:37:37 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7715745
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2296110-rust-rc2/fedora-rawhide-x86_64/07715745-rust-rc2/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 10 Fabio Valentini 2024-07-13 20:51:56 UTC
Two issues:

- The Apache-2.0 license text is not included. The LICENSE-APACHE file contains only the license header, not the full text.
- Please exclude binary test vectors from the -devel package.

Comment 11 Davide Cavalca 2024-07-14 15:57:35 UTC
Spec URL: https://dcavalca.fedorapeople.org/review/rust-rc2/rust-rc2.spec
SRPM URL: https://dcavalca.fedorapeople.org/review/rust-rc2/rust-rc2-0.8.1-1.fc41.src.rpm

Changelog:
- include missing license text
- exclude binary vectors from -devel

Comment 12 Davide Cavalca 2024-07-14 15:57:46 UTC
$ cat rust2rpm.toml
[package]
# https://pagure.io/fedora-rust/rust2rpm/issue/280
summary = "RC2 block cipher"

extra-sources = [
  { number = 2, file = "https://www.apache.org/licenses/LICENSE-2.0", comments = ["Referenced by LICENSE-APACHE"]},
]

[scripts]
prep.pre = ["cp -p %SOURCE2 ."]

Comment 13 Fabio Valentini 2024-07-22 09:56:55 UTC
Thank you, looks good to me.

Can you please file an upstream issue and / or PR to include the full license text in published crates? It is probably an oversight that it currently doesn't contain the full text, most other crates in https://github.com/RustCrypto/block-ciphers do.

===

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 files are included with %license in %files (full Apache-2.0 license text included manually)
✅ 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 14 Davide Cavalca 2024-07-22 14:22:29 UTC
(In reply to Fabio Valentini from comment #13)
> Thank you, looks good to me.
> 
> Can you please file an upstream issue and / or PR to include the full
> license text in published crates? It is probably an oversight that it
> currently doesn't contain the full text, most other crates in
> https://github.com/RustCrypto/block-ciphers do.

https://github.com/RustCrypto/block-ciphers/pull/428

Comment 15 Fedora Admin user for bugzilla script actions 2024-07-22 14:22:57 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-rc2

Comment 16 Fedora Update System 2024-07-22 15:02:16 UTC
FEDORA-2024-7b3425a6d4 (rust-rc2-0.8.1-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7b3425a6d4

Comment 17 Fedora Update System 2024-07-22 15:20:58 UTC
FEDORA-2024-9c7d005698 (rust-rc2-0.8.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9c7d005698

Comment 18 Fedora Update System 2024-07-22 15:36:31 UTC
FEDORA-2024-3ac3cdf734 (rust-rc2-0.8.1-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-3ac3cdf734

Comment 19 Fedora Update System 2024-07-22 15:51:32 UTC
FEDORA-2024-7b3425a6d4 (rust-rc2-0.8.1-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 20 Fedora Update System 2024-07-23 01:53:50 UTC
FEDORA-2024-3ac3cdf734 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-3ac3cdf734 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-3ac3cdf734

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

Comment 21 Fedora Update System 2024-07-23 02:01:29 UTC
FEDORA-2024-9c7d005698 has been pushed to the Fedora 40 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-9c7d005698 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-9c7d005698

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

Comment 22 Fedora Update System 2024-07-31 01:33:04 UTC
FEDORA-2024-3ac3cdf734 (rust-rc2-0.8.1-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2024-07-31 02:45:05 UTC
FEDORA-2024-9c7d005698 (rust-rc2-0.8.1-1.fc40) has been pushed to the Fedora 40 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.