#257 Bug: rust2rpm generates wrong summary for sm3 0.4.2
Closed: Invalid 2 months ago by decathorpe. Opened 3 months ago by salimma.

The summary should be " SM3 (OSCCA GM/T 0004-2012) hash function " per https://crates.io/crates/sm3/0.4.2 but the leading SM3 is cut off from the generated spec

michel in src/fedora/pagure
⬢ [fedora-toolbox:38] ❯ rpm -q rust2rpm
rust2rpm-25.0.4-1.fc38.noarch

michel in src/fedora/pagure 
⬢ [fedora-toolbox:38] ❯ rust2rpm --no-existence-check sm3 0.4.2
• Generated: rust-sm3.spec

michel in src/fedora/pagure 
⬢ [fedora-toolbox:38] ❯ grep Summary rust-sm3.spec
Summary:        (OSCCA GM/T 0004-2012) hash function
Summary:        %{summary}
Summary:        %{summary}
Summary:        %{summary}

While we are at it, similar issue with rust-uu_mktemp 0.0.23

Summary: Mktemp ~

instead of: mktemp ~ (uutils) create and display a temporary file or directory from TEMPLATE

https://crates.io/crates/uu_mktemp

Metadata Update from @decathorpe:
- Issue set to the milestone: v25.1

2 months ago

I filed a new bug against cargo2rpm since that is actually the component that handles generating the summary from crate metadata: https://pagure.io/fedora-rust/cargo2rpm/issue/10

Metadata Update from @decathorpe:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

2 months ago

Login to comment on this ticket.

Metadata