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

Fabio Valentini <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #6 from Fabio Valentini <[email protected]> ---
Not a formal review (since I have no idea how SELinux policies are supposed to
work).

You'll need to determine the license for the subpackage that contains the
"%{_bindir}/rd-agent" binary.

You can do this by running a mock build like
  mock -r fedora-rawhide-x86_64 ./*.src.rpm --without check
then installing dnf-utils into the chroot with
  mock -r fedora-rawhide-x86_64 install dnf-utils
then entering the mock chroot with
  mock -r fedora-rawhide-x86_64 shell
and printing the licenses of all installed Rust crates with
  dnf repoquery --cacheonly "rust-*-devel" --installed --qf "# %{LICENSE}:
%{source_name} %{version}"

This will give you a list of crate packages, their versions, and their License
tags.
The "License" tag of the %{crate} subpackage will then be the effective license
combined from that list.

Alternatively, the following snippet will give you a short, sorted list of
licenses;
which might be an easier starting point for calculating the "effective"
license:

for i in $(rpm -qa | grep "rust-.*-devel"); do
   rpm -q $i --qf "%{LICENSE}\n";
done | sort | uniq


-- 
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
_______________________________________________
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