https://bugzilla.redhat.com/show_bug.cgi?id=1990930
Fabio Valentini <decathorpe(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |decathorpe(a)gmail.com
--- Comment #6 from Fabio Valentini <decathorpe(a)gmail.com> ---
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