https://bugzilla.redhat.com/show_bug.cgi?id=2066040



--- Comment #7 from Fabio Valentini <[email protected]> ---
> 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
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to