[Bug 1990930] Review Request: rust-rd-agent - Management agent for resctl-demo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Fabio Valentini <decathorpe@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |decathorpe@xxxxxxxxx



--- Comment #6 from Fabio Valentini <decathorpe@xxxxxxxxx> ---
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 -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux