https://bugzilla.redhat.com/show_bug.cgi?id=2066040
--- Comment #7 from Fabio Valentini <decathorpe(a)gmail.com> ---
I may be wrong here, but I think that would also mean that we have to
cp LICENCE into %{crate_instdir} first since LICENCE is not in the crate?
You're both right and wrong. ;)
In this case, %cargo_install will copy all files that are included in the crate
into %{crate_instdir} anyway, so as long as you do "cp %{SOURCE1} ." in %prep
it will end up in %{crate_instdir} either way. Specifying it with just
"%license LICENSE" then will only result in two copies of the file being
included in the RPM, which is why we changed rust2rpm to generate "%license
%{crate_instdir}/LICENSE" instead.
--
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2066040