From 3e57249ed1eb07fa9a50c297b008af6c936af6e6 Mon Sep 17 00:00:00 2001 From: Jilayne Lovejoy Date: Jul 27 2022 21:48:15 +0000 Subject: [PATCH 1/2] Update guidelines for Rust licensing Updating to a link to new License: field pages in Fedora docs --- diff --git a/guidelines/modules/ROOT/pages/Rust.adoc b/guidelines/modules/ROOT/pages/Rust.adoc index 4645bb7..f2aeef9 100644 --- a/guidelines/modules/ROOT/pages/Rust.adoc +++ b/guidelines/modules/ROOT/pages/Rust.adoc @@ -233,16 +233,8 @@ All rust packages MUST have `+ExclusiveArch: %{rust_arches}+`. == License for binary packages -Since Rust applications are statically linked and contain code from all their dependencies, -the effective license for the subpackage containing the built binary -must be calculated from the individual licenses of all dependencies. - -The `+rust2rpm+` project provides a https://pagure.io/fedora-rust/rust2rpm/blob/main/f/tools/fedora-helper.py[helper script] -that can be used to obtain a list of Licenses of all real crate dependencies, -excluding dependencies that are only required at build-time or for running tests. - -Both the list of individual licenses *and* the `License` tag with the effective license -MUST be included in the subpackage that contains the statically linked binary. +See https://docs.fedoraproject.org/en-US/legal/license-field/#_rust_packages[License: field in Spec file] guidance specific to Rust. + == Miscellaneous From de94aed5437a1b75c48ea9abda09f8da000728d2 Mon Sep 17 00:00:00 2001 From: Jilayne Lovejoy Date: Jul 27 2022 21:48:15 +0000 Subject: [PATCH 2/2] fix link to license field guideline --- diff --git a/guidelines/modules/ROOT/pages/Rust.adoc b/guidelines/modules/ROOT/pages/Rust.adoc index f2aeef9..e23a496 100644 --- a/guidelines/modules/ROOT/pages/Rust.adoc +++ b/guidelines/modules/ROOT/pages/Rust.adoc @@ -233,7 +233,7 @@ All rust packages MUST have `+ExclusiveArch: %{rust_arches}+`. == License for binary packages -See https://docs.fedoraproject.org/en-US/legal/license-field/#_rust_packages[License: field in Spec file] guidance specific to Rust. +See https://docs.fedoraproject.org/en-US/legal/license-field.adoc[License: field in Spec file] guidance specific to Rust. == Miscellaneous