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



--- Comment #5 from Sergio Lopez <slope...@redhat.com> ---
> You have three options to generate the list of licenses for the versions that 
> will be used for the RPM build:

This indeed way better, thanks. I've tried options 1 and 3, and after finding
out they produced the same output, I've settled on using this to generate
something that I can directly copy and paste in the spec file:

for i in $(rpm -qa | grep "rust-.*-devel"); do rpm -q $i --qf "# %{LICENSE}: ";
echo $i | sed -e 's/-[0-9]*.fc[0-9]*.noarch//g' -e 's/-devel-/ /'; done | sort
| grep -v +

And produced a new copr build with it:

Spec URL:
https://download.copr.fedorainfracloud.org/results/slp/rust-krunvm/fedora-rawhide-x86_64/04609557-rust-krunvm/rust-krunvm.spec
SRPM URL:
https://download.copr.fedorainfracloud.org/results/slp/rust-krunvm/fedora-rawhide-x86_64/04609557-rust-krunvm/rust-krunvm-0.1.6-1.fc37.src.rpm


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2104123
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org
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/package-review@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to